X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d2199704c75d29ba98e0f92d27cb63743183e906..062a80b51a89bf2361930461c0ad7ae5e36a2bdd:/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 6c1a7660f..fa33557d8 100755 --- a/apps/catalogue/templates/catalogue/work-list.html +++ b/apps/catalogue/templates/catalogue/work-list.html @@ -6,11 +6,11 @@ {% spaceless %}
    {% for item in object_list %} -
  1. +
  2. {% if item.short_html %} {{ item.short_html }} {# since we are using shor_html eerywhere, is it needed anymore? #} - {% elif item.object_type == "Picture" %} + {% elif item|class_name == "Picture" %} {% picture_short item %} {% else %} {% book_short item %}