fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3deefcf
)
fix
author
Radek Czajka
<rczajka@rczajka.pl>
Tue, 27 Aug 2024 14:27:15 +0000
(16:27 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Tue, 27 Aug 2024 14:27:15 +0000
(16:27 +0200)
src/catalogue/templates/catalogue/plain_list.html
patch
|
blob
|
history
diff --git
a/src/catalogue/templates/catalogue/plain_list.html
b/src/catalogue/templates/catalogue/plain_list.html
index
eae0ecc
..
ac60edb
100644
(file)
--- a/
src/catalogue/templates/catalogue/plain_list.html
+++ b/
src/catalogue/templates/catalogue/plain_list.html
@@
-12,7
+12,7
@@
<p class="header">{{ initial }}</p>
{% endif %}
{% for item in object_list %}
<p class="header">{{ initial }}</p>
{% endif %}
{% for item in object_list %}
- <p><a href="{% if book %}{% url 'book_fragments' book.slug item.slug %}{% elif choice %}{% catalogue_url list_type choice item %}{
{ item.get_absolute_url }
}">{{ item }}{% if item.count %} ({{ item.count}}){% endif %}</a></p>
+ <p><a href="{% if book %}{% url 'book_fragments' book.slug item.slug %}{% elif choice %}{% catalogue_url list_type choice item %}{
% else %}{{ item.get_absolute_url }}{% endif %
}">{{ item }}{% if item.count %} ({{ item.count}}){% endif %}</a></p>
{% endfor %}
{% if initial_blocks %}</div>{% endif %}
{% endfor %}
{% endfor %}
{% if initial_blocks %}</div>{% endif %}
{% endfor %}