diff options
Diffstat (limited to 'themes/baggy')
-rwxr-xr-x | themes/baggy/tags.twig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/baggy/tags.twig b/themes/baggy/tags.twig index 65930eb2..be234a63 100755 --- a/themes/baggy/tags.twig +++ b/themes/baggy/tags.twig | |||
@@ -6,8 +6,12 @@ | |||
6 | {% block content %} | 6 | {% block content %} |
7 | <h2>{% trans "Tags" %}</h2> | 7 | <h2>{% trans "Tags" %}</h2> |
8 | <ul class="list-tags"> | 8 | <ul class="list-tags"> |
9 | {% if tags is not empty %} | ||
9 | {% for tag in tags %}<li>{% if token != '' %}<a class="icon icon-rss" href="?feed&type=tag&user_id={{ user_id }}&tag_id={{ tag.id }}&token={{ token }}" target="_blank"><span>rss</span></a>{% endif %} <a href="./?view=tag&id={{ tag.id }}">{{ tag.value }}</a> ({{ tag.entriescount }}) | 10 | {% for tag in tags %}<li>{% if token != '' %}<a class="icon icon-rss" href="?feed&type=tag&user_id={{ user_id }}&tag_id={{ tag.id }}&token={{ token }}" target="_blank"><span>rss</span></a>{% endif %} <a href="./?view=tag&id={{ tag.id }}">{{ tag.value }}</a> ({{ tag.entriescount }}) |
10 | </li> | 11 | </li> |
11 | {% endfor %} | 12 | {% endfor %} |
13 | {% else %} | ||
14 | {% trans "No tags found. You must view an article to set tags for it." %} | ||
15 | {% endif %} | ||
12 | </ul> | 16 | </ul> |
13 | {% endblock %} | 17 | {% endblock %} |