X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3c0e373447323b5e33b273859e790a2054771afa..ddf2102eff7ea420a4ea5144c43409587fc1156e:/src/catalogue/templates/catalogue/work-list.html diff --git a/src/catalogue/templates/catalogue/work-list.html b/src/catalogue/templates/catalogue/work-list.html old mode 100755 new mode 100644 index 03833c16f..58e28c7ef --- a/src/catalogue/templates/catalogue/work-list.html +++ b/src/catalogue/templates/catalogue/work-list.html @@ -1,15 +1,20 @@ {% spaceless %} + {% load cache %} {% load pagination_tags %} {% load class_name from catalogue_tags %} - {% load ssi_include from ssify %} + {% load status from catalogue_tags %} {% autopaginate object_list 10 %}
    {% for item in object_list %}
  1. - {% ssi_include item.short_html_url_name pk=item.pk %} + {% if item|class_name == 'Book' %} + {% include "catalogue/book_short.html" with book=item %} + {% else %} + {{ item.midi_box }} + {% endif %}
  2. {% endfor %}