]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig
Avoid tag duplication when tagging all articles
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Tag / tags.html.twig
index c5b516f9bb55f19a4c16e83d0ba9616689496d89..1690633a531150656a2c388a5c2574899f35e6c2 100644 (file)
@@ -9,7 +9,10 @@
     <br />
     <ul class="row data">
     {% for tag in tags %}
-        <li id="tag-{{ tag.id|e }}" class="col l4 m6 s12">{{tag.label}} ({{ tag.getEntriesByUser(app.user.id) | length }})</li>
+        <li id="tag-{{ tag.id|e }}" class="col l4 m6 s12"><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{tag.label}} ({{ tag.entries.getValues | length }})</a></li>
     {% endfor %}
     </ul>
+    <div>
+        <a href="{{ path('untagged') }}">{{ 'tag.list.see_untagged_entries'|trans }}</a>
+    </div>
 {% endblock %}