fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some search fixes.
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
work-list.html
diff --git
a/wolnelektury/templates/catalogue/work-list.html
b/wolnelektury/templates/catalogue/work-list.html
index
34ecb5f
..
19ca7c7
100755
(executable)
--- a/
wolnelektury/templates/catalogue/work-list.html
+++ b/
wolnelektury/templates/catalogue/work-list.html
@@
-6,10
+6,10
@@
<ol class='work-list'>
{% for item in object_list %}
<li class='{{ object_type }}-item'>
<ol class='work-list'>
{% for item in object_list %}
<li class='{{ object_type }}-item'>
- {% if object_type == 'Book' %}
- {% book_short item %}
- {% else %}
+ {% if item.short_html %}
{{ item.short_html }}
{{ item.short_html }}
+ {% else %}
+ {% book_short item %}
{% endif %}
</li>
{% endfor %}
{% endif %}
</li>
{% endfor %}