- {% for book in obj.get_books|slice:":5" %}
- {% cache 86400 book_mini_box book.pk %}
- {% include 'catalogue/book_mini_box.html' %}
- {% endcache %}
- {#% ssi_include 'catalogue_book_mini' pk=book.pk %#}
- {% endfor %}
- {% with obj.get_books.count|add:-5 as more %}
- {% if more > 0 %}
- <a href="{{ obj.get_absolute_url }}">
- {% blocktrans count c=more %}and one more{% plural %}and {{ c }} more{% endblocktrans %}
- </a>
- {% endif %}
- {% endwith %}
-</div>
+ </div>
+ <div class="covers">
+ {% for book in collection.get_books|slice:":6" %}
+ <a href="{{ book.get_absolute_url }}">
+ <img src="{% thumbnail book.cover_clean '139x193' as th %}{{ th.url }}{% endthumbnail %}" alt="{{ book.pretty_title }}" title="{{ book.pretty_title }}">
+ </a>
+ {% endfor %}
+ </div>
+ </div>