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