X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1ca6872afcca0bb6fb4c0c11fdad3b760a2362a1..6280673f35e13e75e81c5b7821bd2a44a1831eab:/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 154198569..30265255a 100755 --- a/apps/catalogue/templates/catalogue/work-list.html +++ b/apps/catalogue/templates/catalogue/work-list.html @@ -1,21 +1,19 @@ +{% spaceless %} + {% load pagination_tags %} -{% load book_short from catalogue_tags %} -{% load picture_short from picture_tags %} +{% load class_name from catalogue_tags %} +{% load ssi_include from ssify %} {% autopaginate object_list 10 %} -{% spaceless %} +
    {% for item in object_list %} -
  1. - {% if item.short_html %} - {{ item.short_html }} - {% elif object_type == "Picture" %} - {% picture_short item %} - {% else %} - {% book_short item %} - {% endif %} +
  2. + {% ssi_include item.short_html_url_name pk=item.pk %}
  3. {% endfor %}
-{% endspaceless %} + {% paginate %} + +{% endspaceless %}