X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/24f09a9815fff57bde69683b12980480fd8dc6a2..cafca91e28661f24abbcda91c733de7e77d16e86:/src/catalogue/templates/catalogue/2022/book_detail.html?ds=sidebyside diff --git a/src/catalogue/templates/catalogue/2022/book_detail.html b/src/catalogue/templates/catalogue/2022/book_detail.html index 00e59ce3e..c2db0b1af 100644 --- a/src/catalogue/templates/catalogue/2022/book_detail.html +++ b/src/catalogue/templates/catalogue/2022/book_detail.html @@ -1,5 +1,6 @@ {% extends '2022/base.html' %} +{% load chunks %} {% load static %} {% load choose_cites from social_tags %} {% load catalogue_tags %} @@ -18,11 +19,11 @@ -
-
+
+
{% with first_text=book.get_first_text %}
- {% 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_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 %}