From: Jan Szejko Date: Tue, 12 Jun 2018 09:16:35 +0000 (+0200) Subject: fix layout in book box X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/16ea958a176bc60e669944edd5d1eb393d6aa90c?hp=5dce691e09c4a838ed0758a3c1c24b2345b4e2bb fix layout in book box --- diff --git a/src/catalogue/templates/catalogue/book_short.html b/src/catalogue/templates/catalogue/book_short.html index b69329bc4..0361e8d5d 100644 --- a/src/catalogue/templates/catalogue/book_short.html +++ b/src/catalogue/templates/catalogue/book_short.html @@ -145,11 +145,6 @@ {% block book-box-extra-info %}{% endblock %} {% block box-append %}{% endblock %} - {% if book.abstract %} -
- {{ book.abstract|safe }} -
- {% endif %} {% endwith %} {% block right-column %} @@ -159,6 +154,11 @@ {% endif %} {% endblock %} + {% if book.abstract %} +
+ {{ book.abstract|safe }} +
+ {% endif %}