3 {% load ssi_include from ssify %}
5 <div class="collection-box white-box">
6 <h2><a href="{{ collection.get_absolute_url }}">{% trans "Collection" %}: {{ collection }}</a></h2>
7 {% if collection.description %}
8 {{ collection.description|safe|truncatewords_html:40 }}
10 {% for book in collection.get_books|slice:":5" %}
11 {% cache 86400 book_mini_box book.pk %}
12 {% include 'catalogue/book_mini_box.html' %}
15 {% with collection.get_books.count|add:-5 as more %}
17 <a href="{{ collection.get_absolute_url }}">
18 {% blocktrans count c=more %}and one more{% plural %}and {{ c }} more{% endblocktrans %}