fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
book page fix
[wolnelektury.git]
/
src
/
catalogue
/
templates
/
catalogue
/
tag_list.html
diff --git
a/src/catalogue/templates/catalogue/tag_list.html
b/src/catalogue/templates/catalogue/tag_list.html
index
2a7fd6a
..
69ed8a8
100644
(file)
--- a/
src/catalogue/templates/catalogue/tag_list.html
+++ b/
src/catalogue/templates/catalogue/tag_list.html
@@
-1,21
+1,22
@@
{% spaceless %}
{% spaceless %}
-{% load i18n %}
-{% load catalogue_tags %}
-{% if one_tag %}
+ {% load i18n %}
+ {% load catalogue_tags %}
+
+ {% if one_tag %}
<p>{% trans "See full category" %} <a href="{% catalogue_url 'default' one_tag %}">{{ one_tag }}</a></p>
<p>{% trans "See full category" %} <a href="{% catalogue_url 'default' one_tag %}">{{ one_tag }}</a></p>
-{% else %}
+
{% else %}
<ul>
<ul>
-
{% if choices %}
+ {% if choices %}
{% for tag in tags %}
{% for tag in tags %}
-
<li><a href="{% catalogue_url 'default' choices tag %}">{{ tag }}{% if tag.count %} ({{ tag.count }}){% endif %}</a></li>
+ <li><a href="{% catalogue_url 'default' choices tag %}">{{ tag }}{% if tag.count %} ({{ tag.count }}){% endif %}</a></li>
{% endfor %}
{% endfor %}
-
{% else %}
+ {% else %}
{% for tag in tags %}
{% for tag in tags %}
-
<li><a href="{{ tag.get_absolute_url }}">{{ tag }}{% if tag.count %} ({{ tag.count }}){% endif %}</a></li>
+ <li><a href="{{ tag.get_absolute_url }}">{{ tag }}{% if tag.count %} ({{ tag.count }}){% endif %}</a></li>
{% endfor %}
{% endfor %}
-
{% endif %}
+ {% endif %}
</ul>
</ul>
-{% endif %}
+
{% endif %}
{% endspaceless %}
\ No newline at end of file
{% endspaceless %}
\ No newline at end of file