Switch cover.
[wolnelektury.git] / src / catalogue / templates / catalogue / book_text.html
index 70915da..758c8cb 100644 (file)
@@ -22,7 +22,7 @@
   <li>
     <a href="{{ book.get_absolute_url }}" id="menu-book" data-box="book-short">
       <span class="label">{% trans "Click to download" %}:</span>
-      <img src="{% if book.cover_thumb %}{% thumbnail book.cover_thumb '240x332' as thumb %}{{ thumb.url }}{% empty %}{{ book.cover_thumb.url }}{% endthumbnail %}{% endif %}"
+      <img src="{% if book.cover_clean %}{% thumbnail book.cover_clean '240x332' as thumb %}{{ thumb.url }}{% empty %}{{ book.cover_clean.url }}{% endthumbnail %}{% endif %}"
            width="120" height="166"
            alt="{{ book.pretty_title }}"
            title="{{ book.pretty_title }}">