Cleanup
[wolnelektury.git] / src / catalogue / templates / catalogue / book_text.html
index 70915da..16cc728 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 }}">
 {% block footer %}
   {% if book.has_sync_file %}
     <div id="player-bar">
-      {% include 'catalogue/snippets/2022_jplayer_reader.html' %}
+      {% include 'catalogue/snippets/jplayer_reader.html' %}
     </div>
     <script type="application/json" id="smil">
      {{ book.get_sync|safe }}