fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reformat templates
[wolnelektury.git]
/
src
/
catalogue
/
templates
/
catalogue
/
inline_tag_list.html
diff --git
a/src/catalogue/templates/catalogue/inline_tag_list.html
b/src/catalogue/templates/catalogue/inline_tag_list.html
index
802fcb1
..
a552d91
100755
(executable)
--- a/
src/catalogue/templates/catalogue/inline_tag_list.html
+++ b/
src/catalogue/templates/catalogue/inline_tag_list.html
@@
-2,26
+2,26
@@
{% load catalogue_tags %}
{% if choices %}
{% load catalogue_tags %}
{% if choices %}
- {% if category_choices %}
- <ul>
- {% for tag in category_choices %}
- <li class="active">{{ tag }} <a href="{% catalogue_url list_type choices -tag %}">X</a></li>
- {% endfor %}
- </ul>
- {% endif %}
-{% endif %}
-{% if tags %}
+ {% if category_choices %}
<ul>
<ul>
-
{% for tag in tag
s %}
-
<li><a href="{% catalogue_url list_type choices tag %}">{{ tag }}{% if tag.count %} ({{ tag.count }}){% endif %}
</a></li>
-
{% endfor %}
+
{% for tag in category_choice
s %}
+
<li class="active">{{ tag }} <a href="{% catalogue_url list_type choices -tag %}">X
</a></li>
+ {% endfor %}
</ul>
</ul>
+ {% endif %}
+{% endif %}
+{% if tags %}
+ <ul>
+ {% for tag in tags %}
+ <li><a href="{% catalogue_url list_type choices tag %}">{{ tag }}{% if tag.count %} ({{ tag.count }}){% endif %}</a></li>
+ {% endfor %}
+ </ul>
{% endif %}
{% if other %}
{% endif %}
{% if other %}
-
<ul>
-
<li class="header">{% trans "Other" %}:</li>
-
{% for tag in other %}
-
<li class="other"><a href="{% catalogue_url list_type tag %}">{{ tag }}</a></li>
-
{% endfor %}
-
</ul>
+ <ul>
+ <li class="header">{% trans "Other" %}:</li>
+ {% for tag in other %}
+ <li class="other"><a href="{% catalogue_url list_type tag %}">{{ tag }}</a></li>
+ {% endfor %}
+ </ul>
{% endif %}
{% endif %}