diff options
author | Kévin Gomez <contact@kevingomez.fr> | 2015-10-11 17:37:19 +0200 |
---|---|---|
committer | Kévin Gomez <contact@kevingomez.fr> | 2015-11-11 16:23:49 +0100 |
commit | 981cacf7b97192ee5086bb94478a81bbc4246928 (patch) | |
tree | 98b9e67b8aad78031c6bcbf8a0e1899fec4e3cbb /src/Wallabag | |
parent | 9cbb404b4a2f76ad387ee31160bcf461048bc003 (diff) | |
download | wallabag-981cacf7b97192ee5086bb94478a81bbc4246928.tar.gz wallabag-981cacf7b97192ee5086bb94478a81bbc4246928.tar.zst wallabag-981cacf7b97192ee5086bb94478a81bbc4246928.zip |
Display the tagging rules in the config
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig | 12 |
1 files changed, 12 insertions, 0 deletions
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 d27a8ca6..1a8526f3 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 | |||
@@ -185,6 +185,18 @@ | |||
185 | </div> | 185 | </div> |
186 | 186 | ||
187 | <div id="set5" class="col s12"> | 187 | <div id="set5" class="col s12"> |
188 | <div class="row"> | ||
189 | <div class="input-field col s12"> | ||
190 | <ul> | ||
191 | {% for tagging_rule in app.user.config.taggingRules %} | ||
192 | <li> | ||
193 | if « {{ tagging_rule.rule }} » then tag as « {{ tagging_rule.tags|join(', ') }} » | ||
194 | </li> | ||
195 | {% endfor %} | ||
196 | </ul> | ||
197 | </div> | ||
198 | </div> | ||
199 | |||
188 | <form action="{{ path('config') }}#set5" method="post" {{ form_enctype(form.pwd) }}> | 200 | <form action="{{ path('config') }}#set5" method="post" {{ form_enctype(form.pwd) }}> |
189 | {{ form_errors(form.pwd) }} | 201 | {{ form_errors(form.pwd) }} |
190 | 202 | ||