One cover more in the box.
authorRadek Czajka <rczajka@rczajka.pl>
Tue, 1 Jun 2021 13:11:51 +0000 (15:11 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Tue, 1 Jun 2021 13:11:51 +0000 (15:11 +0200)
src/catalogue/templates/catalogue/collection_box.html

index 6514735..38855d9 100644 (file)
@@ -8,7 +8,7 @@
     {% endif %}
     </div>
     <div class="covers">
     {% endif %}
     </div>
     <div class="covers">
-      {% for book in collection.get_books|slice:":5" %}
+      {% for book in collection.get_books|slice:":6" %}
         <a href="{{ book.get_absolute_url }}">
           <img src="{{ book.cover_thumb.url }}" alt="{{ book.pretty_title }}" title="{{ book.pretty_title }}">
         </a>
         <a href="{{ book.get_absolute_url }}">
           <img src="{{ book.cover_thumb.url }}" alt="{{ book.pretty_title }}" title="{{ book.pretty_title }}">
         </a>