fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
79ac7d1
)
fixed links in the gallery list
author
Jan Szejko
<j-sz@o2.pl>
Thu, 4 Feb 2016 12:58:35 +0000
(13:58 +0100)
committer
Jan Szejko
<j-sz@o2.pl>
Thu, 4 Feb 2016 12:58:35 +0000
(13:58 +0100)
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
a935184
..
c8cad33
100644
(file)
--- a/
src/catalogue/templates/catalogue/plain_list.html
+++ b/
src/catalogue/templates/catalogue/plain_list.html
@@
-10,7
+10,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 %}{% if gallery %}{% catalogue_url_gallery choice item %}{% else %}{% catalogue_url choice item %}{% endif %}{% elif gallery %}{{ item.get_absolute_gallery_url }}{% else %}{{ item.get_absolute_url }}{% endif %}">{{ item }}{% if item.count %} ({{ item.count}}){% endif %}</a></p>
+ <p><a href="{% if book %}{% url 'book_fragments' book.slug item.slug %}{% elif choice %}{% if gallery %}{% catalogue_url_gallery choice item %}{% else %}{% catalogue_url choice item %}{% endif %}{% elif gallery
and item.get_absolute_gallery_url
%}{{ item.get_absolute_gallery_url }}{% 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 %}