]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig
improve test and change method name. Also, display number of entries for each tag
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Tag / tags.html.twig
1 {% extends "WallabagCoreBundle::layout.html.twig" %}
2
3 {% block title "Tags" %}
4
5 {% block content %}
6 <div class="results clearfix">
7 <div class="nb-results left">{% transchoice tags.count %}{0} There is no tag.|{1} There is one tag.|]1,Inf[ There are %count% tags.{% endtranschoice %}</div>
8 </div>
9 <br />
10 <ul class="row data">
11 {% for tag in tags %}
12 <li id="tag-{{ tag.id|e }}" class="col l4 m6 s12">{{tag.label}} ({{ tag.entries.getValues | length }})</li>
13 {% endfor %}
14 </ul>
15 {% endblock %}