X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FConfig%2Findex.html.twig;h=698219b9ea54c0d13a910b33ff46d394177e2038;hb=0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc;hp=2b0b08289e935e233648b5554ec0de5d536d420a;hpb=d2b4f01d7435e8a8f99b15a2487916427c04e58d;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 2b0b0828..698219b9 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,13 +11,13 @@
@@ -28,9 +28,9 @@
+ {{ form_label(form.config.theme) }} {{ form_errors(form.config.theme) }} {{ form_widget(form.config.theme) }} -
@@ -59,10 +59,8 @@
- - + {{ form_widget(form.config.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} + {{ form_rest(form.config) }} @@ -72,33 +70,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 %} @@ -111,11 +113,8 @@ - - - + {{ form_widget(form.rss.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} + {{ form_rest(form.rss) }} @@ -142,7 +141,7 @@ {% if twofactor_auth %}
- {% trans %}Enabling two factor authentication means you'll receive an email with a code on every new untrusted connexion{% endtrans %} + {{ 'config.form_user.two_factor_description'|trans }}
@@ -155,11 +154,8 @@ {% endif %} - - - + {{ form_widget(form.user.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} + {{ form_rest(form.user) }} @@ -191,11 +187,8 @@ - - - + {{ form_widget(form.pwd.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} + {{ form_rest(form.pwd) }} @@ -205,8 +198,11 @@