5 {% load pagination_tags %}
6 {% load class_name from catalogue_tags %}
7 {% load status from catalogue_tags %}
8 {% load ssi_include from ssify %}
10 {% autopaginate object_list 10 %}
12 <ol class='work-list'>
13 {% for item in object_list %}
14 <li class='{{ item|class_name }}-item'>
15 {% if item|class_name == 'Book' %}
16 {% get_current_language as LANGUAGE_CODE %}
17 {% cache 86400 book_short item.pk item|status:request.user LANGUAGE_CODE %}
18 {% include "catalogue/book_short.html" with book=item %}
21 {% ssi_include item.short_html_url_name pk=item.pk %}