X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FConfig%2Findex.html.twig;h=6ac6decb9195542078e866c9daf7c0797d122e86;hb=5c895a7fd15822856fb407910264c5d95e1e223c;hp=cee4f672c8602419420ad576f691efcc6ed9b9c6;hpb=2db616b586f473238706e554e809086935e0f33a;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig index cee4f672..6ac6decb 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig @@ -5,7 +5,7 @@ {% block content %}

{% trans %}Wallabag configuration{% endtrans %}

-
+ {{ form_start(form.config) }} {{ form_errors(form.config) }}
@@ -37,9 +37,13 @@

{% trans %}RSS configuration{% endtrans %}

- + {{ form_start(form.rss) }} {{ form_errors(form.rss) }} +
+ {% trans %}RSS feeds provided by wallabag allow you to read your saved articles with your favourite RSS reader.{% endtrans %} +
+
@@ -81,7 +85,7 @@

{% trans %}User information{% endtrans %}

- + {{ form_start(form.user) }} {{ form_errors(form.user) }}
@@ -100,6 +104,11 @@
+ {% if twofactor_auth %} +
+ {% trans %}Enabling two factor authentication means you'll receive an email with a code on every new untrusted connexion{% endtrans %} +
+
{{ form_label(form.user.twoFactorAuthentication) }} @@ -107,13 +116,14 @@ {{ form_widget(form.user.twoFactorAuthentication) }}
+ {% endif %} {{ form_rest(form.user) }}

{% trans %}Change your password{% endtrans %}

-
+ {{ form_start(form.pwd) }} {{ form_errors(form.pwd) }}
@@ -143,10 +153,43 @@ {{ form_rest(form.pwd) }} +

{% trans %}Tagging rules{% endtrans %}

+ +
    + {% for tagging_rule in app.user.config.taggingRules %} +
  • + if « {{ tagging_rule.rule }} » then tag as « {{ tagging_rule.tags|join(', ') }} » + +
  • + {% endfor %} +
+ + {{ form_start(form.new_tagging_rule) }} + {{ form_errors(form.new_tagging_rule) }} + +
+
+ {{ form_label(form.new_tagging_rule.rule) }} + {{ form_errors(form.new_tagging_rule.rule) }} + {{ form_widget(form.new_tagging_rule.rule) }} +
+
+ +
+
+ {{ form_label(form.new_tagging_rule.tags) }} + {{ form_errors(form.new_tagging_rule.tags) }} + {{ form_widget(form.new_tagging_rule.tags) }} +
+
+ + {{ form_rest(form.new_tagging_rule) }} + + {% if is_granted('ROLE_SUPER_ADMIN') %}

{% trans %}Add a user{% endtrans %}

-
+ {{ form_start(form.new_user) }} {{ form_errors(form.new_user) }}