X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2983d583c9de4c33ed73d6c06d9d6eb54b30f15e..ea9d7d13a44a6ad6357b1af8c977c27753268521:/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 178654c70..58e28c7ef --- a/src/catalogue/templates/catalogue/work-list.html +++ b/src/catalogue/templates/catalogue/work-list.html @@ -1,11 +1,9 @@ {% spaceless %} {% load cache %} - {% load i18n %} {% load pagination_tags %} {% load class_name from catalogue_tags %} {% load status from catalogue_tags %} - {% load ssi_include from ssify %} {% autopaginate object_list 10 %} @@ -13,12 +11,9 @@ {% for item in object_list %}
  • {% if item|class_name == 'Book' %} - {% get_current_language as LANGUAGE_CODE %} - {% cache 86400 book_short item.pk item|status:request.user LANGUAGE_CODE %} - {% include "catalogue/book_short.html" with book=item %} - {% endcache %} + {% include "catalogue/book_short.html" with book=item %} {% else %} - {% ssi_include item.short_html_url_name pk=item.pk %} + {{ item.midi_box }} {% endif %}
  • {% endfor %}