Show untagged entries count on tag list (#3993)

Show untagged entries count on tag list
This commit is contained in:
Thomas Citharel
2019-06-06 14:09:23 +02:00
committed by GitHub
18 changed files with 42 additions and 2 deletions

View File

@ -31,6 +31,10 @@
</ul>
<div>
<a href="{{ path('untagged') }}">{{ 'tag.list.see_untagged_entries'|trans }}</a>
{% if nbEntriesUntagged == 0 %}
{{ 'tag.list.no_untagged_entries'|trans }}
{% else %}
<a href="{{ path('untagged') }}">{{ 'tag.list.see_untagged_entries'|trans }} ({{nbEntriesUntagged}})</a>
{% endif %}
</div>
{% endblock %}

View File

@ -34,6 +34,10 @@
</div>
<div>
<a href="{{ path('untagged') }}">{{ 'tag.list.see_untagged_entries'|trans }}</a>
{% if nbEntriesUntagged == 0 %}
{{ 'tag.list.no_untagged_entries'|trans }}
{% else %}
<a href="{{ path('untagged') }}">{{ 'tag.list.see_untagged_entries'|trans }} ({{nbEntriesUntagged}})</a>
{% endif %}
</div>
{% endblock %}