3 {% load ssi_include from ssify %}
4 <div class="collection-box white-box">
5 <h2><a href="{{ obj.get_absolute_url }}">{% trans "Collection" %}: {{ obj }}</a></h2>
6 {% if obj.description %}
7 {{ obj.description|safe|truncatewords_html:40 }}
9 {% for b in obj.get_books|slice:":5" %}
10 {% ssi_include 'catalogue_book_mini' pk=b.pk %}
12 {% with obj.get_books.count|add:-5 as more %}
14 <a href="{{ obj.get_absolute_url }}">
15 {% blocktrans count c=more %}and one more{% plural %}and {{ c }} more{% endblocktrans %}