improve test and change method name. Also, display number of entries for each tag

This commit is contained in:
Thomas Citharel
2016-02-10 18:40:15 +01:00
parent 567421af50
commit e686a76d34
3 changed files with 5 additions and 3 deletions

View File

@ -9,7 +9,7 @@
<br />
<ul class="row data">
{% for tag in tags %}
<li id="tag-{{ tag.id|e }}" class="col l4 m6 s12">{{tag.label}}</li>
<li id="tag-{{ tag.id|e }}" class="col l4 m6 s12">{{tag.label}} ({{ tag.entries.getValues | length }})</li>
{% endfor %}
</ul>
{% endblock %}