]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Display the tagging rules in the config
authorKévin Gomez <contact@kevingomez.fr>
Sun, 11 Oct 2015 15:37:19 +0000 (17:37 +0200)
committerKévin Gomez <contact@kevingomez.fr>
Wed, 11 Nov 2015 15:23:49 +0000 (16:23 +0100)
src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig

index d27a8ca6ffbf69def148e4c79bead361d1b580c0..1a8526f33d4c87aeaec8a9c25939c5edcadc8673 100644 (file)
                     </div>
 
                     <div id="set5" class="col s12">
+                        <div class="row">
+                            <div class="input-field col s12">
+                                <ul>
+                                    {% for tagging_rule in app.user.config.taggingRules %}
+                                    <li>
+                                        if « {{ tagging_rule.rule }} » then tag as « {{ tagging_rule.tags|join(', ') }} »
+                                    </li>
+                                    {% endfor %}
+                                </ul>
+                            </div>
+                        </div>
+
                         <form action="{{ path('config') }}#set5" method="post" {{ form_enctype(form.pwd) }}>
                             {{ form_errors(form.pwd) }}