fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new cover
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
tag_list.html
diff --git
a/wolnelektury/templates/catalogue/tag_list.html
b/wolnelektury/templates/catalogue/tag_list.html
index
3f842ac
..
a5ce71e
100644
(file)
--- a/
wolnelektury/templates/catalogue/tag_list.html
+++ b/
wolnelektury/templates/catalogue/tag_list.html
@@
-4,8
+4,14
@@
<p>{% trans "See full category" %} <a href="{% catalogue_url one_tag %}">{{ one_tag }}</a></p>
{% else %}
<ul>
<p>{% trans "See full category" %} <a href="{% catalogue_url one_tag %}">{{ one_tag }}</a></p>
{% else %}
<ul>
+ {% if choices %}
{% for tag in tags %}
{% for tag in tags %}
- <li><a href="{% catalogue_url choices tag %}">{{ tag }} ({{ tag.
book_
count }})</a></li>
+ <li><a href="{% catalogue_url choices tag %}">{{ tag }} ({{ tag.count }})</a></li>
{% endfor %}
{% endfor %}
+ {% else %}
+ {% for tag in tags %}
+ <li><a href="{{ tag.get_absolute_url }}">{{ tag }} ({{ tag.book_count }})</a></li>
+ {% endfor %}
+ {% endif %}
</ul>
{% endif %}
</ul>
{% endif %}