forked from wallabag/wallabag
Show untagged entries count on tag list (#3993)
Show untagged entries count on tag list
This commit is contained in:
@ -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 %}
|
||||
|
||||
@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user