X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FConfig%2Findex.html.twig;h=11b02294b131dc8e4cc40f9446e3c4a0525598fe;hb=79efca1e6ff28362d4bd2713f68205294cdd07de;hp=e08393a235d21469a570e78387b0cfdd57838967;hpb=aeff8aa765579259c1427dc469ff78ebdebfc72c;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig index e08393a2..11b02294 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig @@ -1,6 +1,6 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{% trans %}config{% endtrans %}{% endblock %} +{% block title %}{{ 'config.page_title'|trans }}{% endblock %} {% block content %} @@ -11,14 +11,14 @@
@@ -28,9 +28,9 @@
+ {{ form_label(form.config.theme) }} {{ form_errors(form.config.theme) }} {{ form_widget(form.config.theme) }} -
@@ -42,6 +42,18 @@
+
+
+ {{ form_label(form.config.reading_speed) }} + {{ form_errors(form.config.reading_speed) }} + {{ form_widget(form.config.reading_speed) }} +

+ {{ 'config.form_settings.reading_speed.help_message'|trans }} + myreadspeed +

+
+
+
{{ form_label(form.config.language) }} @@ -50,10 +62,8 @@
- - + {{ form_widget(form.config.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} + {{ form_rest(form.config) }} @@ -63,33 +73,37 @@
- {% trans %}RSS feeds provided by wallabag allow you to read your saved articles with your favourite RSS reader. You need to generate a token first.{% endtrans %} + {{ 'config.form_rss.description'|trans }}
- +
{% if rss.token %} {{ rss.token }} {% else %} - {% trans %}No token{% endtrans %} + {{ 'config.form_rss.no_token'|trans }} {% endif %} - – {% if rss.token %}{% trans %}Reset your token{% endtrans %}{% else %}{% trans %}Create your token{% endtrans %}{% endif %} + – + {% if rss.token %} + {{ 'config.form_rss.token_reset'|trans }} + {% else %} + {{ 'config.form_rss.token_create'|trans }} + {% endif %}
{% if rss.token %}
- - - + +
{% endif %} @@ -102,11 +116,8 @@ - - - + {{ form_widget(form.rss.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} + {{ form_rest(form.rss) }} @@ -131,6 +142,12 @@ {% if twofactor_auth %} +
+
+ {{ 'config.form_user.two_factor_description'|trans }} +
+
+
{{ form_widget(form.user.twoFactorAuthentication) }} @@ -140,11 +157,8 @@
{% endif %} - - - + {{ form_widget(form.user.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} + {{ form_widget(form.user._token) }}
@@ -176,11 +190,8 @@ - - - + {{ form_widget(form.pwd.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} + {{ form_rest(form.pwd) }} @@ -190,9 +201,12 @@