X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a83d83309b360a230b9458496e8bd9df6883af05..a79b274856788fd355c87980186d76ff5a7f9cd6:/src/catalogue/templates/catalogue/collection_box.html diff --git a/src/catalogue/templates/catalogue/collection_box.html b/src/catalogue/templates/catalogue/collection_box.html index 651473591..ec79ca617 100644 --- a/src/catalogue/templates/catalogue/collection_box.html +++ b/src/catalogue/templates/catalogue/collection_box.html @@ -1,16 +1,17 @@ {% spaceless %} {% load i18n %} + {% load thumbnail %}
-

{% trans "Collection" %}: {{ collection }}

+

{{ collection }}

{% if collection.description %} {{ collection.description|safe|truncatewords_html:40 }} {% endif %}
- {% for book in collection.get_books|slice:":5" %} + {% for book in collection.get_books|slice:":6" %} - {{ book.pretty_title }} + {{ book.pretty_title }} {% endfor %}