From cafca91e28661f24abbcda91c733de7e77d16e86 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 29 Jun 2023 22:58:00 +0200 Subject: [PATCH] book page fix --- .../templates/catalogue/2022/book_detail.html | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) 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 %}
-- 2.20.1