fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work list: don't care about types of objects on other pages.
[wolnelektury.git]
/
apps
/
catalogue
/
templates
/
catalogue
/
work-list.html
diff --git
a/apps/catalogue/templates/catalogue/work-list.html
b/apps/catalogue/templates/catalogue/work-list.html
index
6c1a766
..
fa33557
100755
(executable)
--- a/
apps/catalogue/templates/catalogue/work-list.html
+++ b/
apps/catalogue/templates/catalogue/work-list.html
@@
-6,11
+6,11
@@
{% spaceless %}
<ol class='work-list'>
{% for item in object_list %}
{% spaceless %}
<ol class='work-list'>
{% for item in object_list %}
- <li class='{
% class_name item %
}-item'>
+ <li class='{
{ item|class_name }
}-item'>
{% if item.short_html %}
{{ item.short_html }}
{# since we are using shor_html eerywhere, is it needed anymore? #}
{% if item.short_html %}
{{ item.short_html }}
{# since we are using shor_html eerywhere, is it needed anymore? #}
- {% elif item
.object_typ
e == "Picture" %}
+ {% elif item
|class_nam
e == "Picture" %}
{% picture_short item %}
{% else %}
{% book_short item %}
{% picture_short item %}
{% else %}
{% book_short item %}