From: Radek Czajka Date: Thu, 29 Jun 2023 20:58:00 +0000 (+0200) Subject: book page fix X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/cafca91e28661f24abbcda91c733de7e77d16e86?ds=sidebyside;hp=e16cdb354169e612d39fa57ed547e86595e54981 book page fix --- diff --git a/src/catalogue/templates/catalogue/2022/book_detail.html b/src/catalogue/templates/catalogue/2022/book_detail.html index 7c2bb071c..c2db0b1af 100644 --- a/src/catalogue/templates/catalogue/2022/book_detail.html +++ b/src/catalogue/templates/catalogue/2022/book_detail.html @@ -364,22 +364,24 @@ {% endwith %} - {% for author in book.authors %} + {% for tag in book.authors %}
- {% include 'catalogue/2022/author_box.html' %} - - {% choose_cites 3 book=book as cites %} - {% if cites %} -
-
-
- {% for fragment in cites %} - {% include "catalogue/2022/fragment_slider_box.html" %} - {% endfor %} + {% include 'catalogue/2022/author_box.html' %} + + {% if forloop.first %} + {% choose_cites 3 book=book as cites %} + {% if cites %} +
+
+
+ {% for fragment in cites %} + {% include "catalogue/2022/fragment_slider_box.html" %} + {% endfor %} +
-
+ {% endif %} {% endif %}