From: Radek Czajka Date: Tue, 13 Sep 2022 13:56:55 +0000 (+0200) Subject: New layout fixes. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/a4cf06ec9135a9375fbc9ed2c697bc60ad6052b5 New layout fixes. --- diff --git a/src/catalogue/templates/catalogue/2022/book_box.html b/src/catalogue/templates/catalogue/2022/book_box.html index 2d2ac05e6..db6bfb103 100644 --- a/src/catalogue/templates/catalogue/2022/book_box.html +++ b/src/catalogue/templates/catalogue/2022/book_box.html @@ -20,7 +20,7 @@ {% if book.is_book %} {% endif %} - {% if book.has_mp3 %} + {% if book.has_mp3_file %} {% endif %} {% if book.is_picture %} diff --git a/src/catalogue/templates/catalogue/2022/theme_detail.html b/src/catalogue/templates/catalogue/2022/theme_detail.html index 622b6b521..71ec04660 100644 --- a/src/catalogue/templates/catalogue/2022/theme_detail.html +++ b/src/catalogue/templates/catalogue/2022/theme_detail.html @@ -57,7 +57,7 @@
- {% if fragment.book.has_mp3 %} + {% if fragment.book.has_mp3_file %} {% endif %}
diff --git a/src/catalogue/templates/catalogue/preview_ad.html b/src/catalogue/templates/catalogue/preview_ad.html index 33ea77329..85b4ed2ff 100644 --- a/src/catalogue/templates/catalogue/preview_ad.html +++ b/src/catalogue/templates/catalogue/preview_ad.html @@ -1,8 +1,18 @@ {% if book %} -

- Prapremiera! - Dziękujemy za wsparcie – przeczytaj w prezencie już dzisiaj! -

+