workaround for django ticket 17111; cover in api fix
[wolnelektury.git] / wolnelektury / templates / catalogue / work-list.html
1 {% load pagination_tags %}
2 {% load book_short from catalogue_tags %}
3
4 {% autopaginate object_list 10 %}
5 {% spaceless %}
6 <ol class='work-list'>
7 {% for item in object_list %}
8     <li class='{{ object_type }}-item'>
9         {% if item.short_html %}
10             {{ item.short_html }}
11         {% else %}
12             {% book_short item %}
13         {% endif %}
14     </li>
15 {% endfor %}
16 </ol>
17 {% endspaceless %}
18 {% paginate %}