2 {% load catalogue_tags %}
4 {% if category_choices %}
6 <li class="header">{% trans "Chosen" %}:</li>
7 {% for tag in category_choices %}
8 <li class="active">{{ tag }} <a href="{% if gallery %}{% catalogue_url_gallery choices -tag %}{% else %}{% catalogue_url choices -tag %}{% endif %}">X</a></li>
14 <li class="header">{% trans "Available" %}:</li>
16 <li><a href="{% if gallery %}{% catalogue_url_gallery choices tag %}{% else %}{% catalogue_url choices tag %}{% endif %}">{{ tag }}{% if tag.count %} ({{ tag.count }}){% endif %}</a></li>
23 <li class="header">{% trans "Available" %}:</li>
25 <li><a href="{% if gallery %}{{ tag.get_absolute_gallery_url }}{% else %}{{ tag.get_absolute_url }}{% endif %}">{{ tag }} {% if tag.count %} ({{ tag.count }}){% endif %}</a></li>
32 <li class="header">{% trans "Other" %}:</li>
33 {% for tag in other %}
34 <li class="other"><a href="{% if gallery %}{{ tag.get_absolute_gallery_url }}{% else %}{{ tag.get_absolute_url }}{% endif %}">{{ tag }}</a></li>