Merge branch 'dev'
[wolnelektury.git] / src / catalogue / templates / catalogue / inline_tag_list.html
1 {% load i18n %}
2 {% load catalogue_tags %}
3
4 {% if choices %}
5     {% if category_choices %}
6         <ul>
7         {% for tag in category_choices %}
8             <li class="active">{{ tag }} <a href="{% catalogue_url list_type choices -tag %}">X</a></li>
9         {% endfor %}
10         </ul>
11     {% endif %}
12 {% endif %}
13 {% if tags %}
14     <ul>
15         {% for tag in tags %}
16             <li><a href="{% catalogue_url list_type choices tag %}">{{ tag }}{% if tag.count %}&nbsp;({{ tag.count }}){% endif %}</a></li>
17         {% endfor %}
18     </ul>
19 {% endif %}
20 {% if other %}
21     <ul>
22         <li class="header">{% trans "Other" %}:</li>
23         {% for tag in other %}
24             <li class="other"><a href="{% catalogue_url list_type tag %}">{{ tag }}</a></li>
25         {% endfor %}
26     </ul>
27 {% endif %}