aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/tags.twig
diff options
context:
space:
mode:
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-03-10 16:28:47 +0200
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-03-10 16:28:47 +0200
commitfb26cc9375ce9ef8df748eb473eb6e58884421c6 (patch)
tree3b1ac9bf4b1eb95c4ca91c02b447350516b8ad84 /themes/default/tags.twig
parent17b2afefad1947042cc9fbbb841c3a023d00d96d (diff)
downloadwallabag-fb26cc9375ce9ef8df748eb473eb6e58884421c6.tar.gz
wallabag-fb26cc9375ce9ef8df748eb473eb6e58884421c6.tar.zst
wallabag-fb26cc9375ce9ef8df748eb473eb6e58884421c6.zip
a lot of enhancements related to tags: tags list is now sorted, shows number of articles, autocomplete added according to #477, #542
Diffstat (limited to 'themes/default/tags.twig')
-rwxr-xr-x[-rw-r--r--]themes/default/tags.twig12
1 files changed, 11 insertions, 1 deletions
diff --git a/themes/default/tags.twig b/themes/default/tags.twig
index cff6b1d7..cc196010 100644..100755
--- a/themes/default/tags.twig
+++ b/themes/default/tags.twig
@@ -4,5 +4,15 @@
4{% include '_menu.twig' %} 4{% include '_menu.twig' %}
5{% endblock %} 5{% endblock %}
6{% block content %} 6{% block content %}
7{% for tag in tags %}<a href="./?view=tag&amp;id={{ tag.id }}">{{ tag.value }}</a> {% if token != '' %}<a href="?feed&amp;type=tag&amp;user_id={{ user_id }}&amp;tag_id={{ tag.id }}&amp;token={{ token }}" target="_blank"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/rss.png" /></a>{% endif %} {% endfor %} 7 <div class="two-column">
8 {% for tag in tags %}
9 <a href="./?view=tag&amp;id={{ tag.id }}">{{ tag.value }}</a> ({{ tag.entriescount }}) {% if token != '' %}<a href="?feed&amp;type=tag&amp;user_id={{ user_id }}&amp;tag_id={{ tag.id }}&amp;token={{ token }}" target="_blank"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/rss.png" /></a>{% endif %}
10 <br>
11
12 {% if loop.index == '%d'|format(loop.length/2 + 0.5) %}
13 </div><div class="two-column">
14 {% endif %}
15
16 {% endfor %}
17 </div>
8{% endblock %} \ No newline at end of file 18{% endblock %} \ No newline at end of file