From: Radek Czajka Date: Fri, 24 Jan 2014 09:48:28 +0000 (+0100) Subject: Another cover fix. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/9bbc3e87eb5de5206ed040f47a31ac47d96b3300?hp=4e17ee1bbde80e43ae80fb6f28946e9364423ec8 Another cover fix. --- diff --git a/apps/catalogue/templates/catalogue/book_mini_box.html b/apps/catalogue/templates/catalogue/book_mini_box.html index 82038e712..49257b1c3 100755 --- a/apps/catalogue/templates/catalogue/book_mini_box.html +++ b/apps/catalogue/templates/catalogue/book_mini_box.html @@ -3,7 +3,7 @@ {% if with_link %} {% endif %} - {% if book.cover %} + {% if book.cover_thumb %} {{ author_str }} – {{ book.title }} {% endif %} diff --git a/apps/catalogue/templates/catalogue/book_short.html b/apps/catalogue/templates/catalogue/book_short.html index 5757c6a03..3a0d37a86 100644 --- a/apps/catalogue/templates/catalogue/book_short.html +++ b/apps/catalogue/templates/catalogue/book_short.html @@ -40,7 +40,7 @@
- {% if book.cover %} + {% if book.cover_thumb %} {% if main_link %}{% endif %} Cover