X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/864d45abe5ec985836baf52de168943d25a03be6..06e460b91c23f11e92bf5ae711a4ed2226d3a0c7:/src/catalogue/templates/catalogue/book_list/book_list.html diff --git a/src/catalogue/templates/catalogue/book_list/book_list.html b/src/catalogue/templates/catalogue/book_list/book_list.html index e238827b..25a2e00c 100755 --- a/src/catalogue/templates/catalogue/book_list/book_list.html +++ b/src/catalogue/templates/catalogue/book_list/book_list.html @@ -19,10 +19,7 @@ - - - +
{% for item in books %} - {% with item.book as book %} - {{ book.short_html|safe }} + {% with book=item.book chunk=item.chunks.0 %} + {% include 'catalogue/book_list/book.html' %} {% if not book.single %} {% for chunk in item.chunks %} - {{ chunk.short_html|safe }} + {% include 'catalogue/book_list/chunk.html' %} {% endfor %} {% endif %} {% endwith %}