merge player changes and detail page + search
[wolnelektury.git] / wolnelektury / templates / catalogue / book_short.html
index 8ac23a3..1c3a742 100644 (file)
@@ -1,6 +1,6 @@
 {% load i18n %}
 {% load thumbnail %}
-<div class="book-box">
+<div class="{% block box-class %}book-box{% endblock %}">
 <div class="book-box-inner">
     <a href="{{ book.get_absolute_url }}">
         {% if book.cover %}
@@ -13,6 +13,8 @@
             " alt="Cover" />
         {% endif %}
     </a>
+    {% block right-column %}
+    {% endblock %}
     <div class="book-box-body">
         <div class="book-box-head">
             <div class="mono author">
         </li>
         <li class="book-box-audiobook">
         {% if book.has_mp3_file %}
-            <a href="" class="mono downarrow">{% trans "Audiobook" %}</a>
+            <a href="{% url book_player book.slug %}" class="open-player mono downarrow">{% trans "Listen" %}</a>
         {% endif %}
         </li>
     </ul>
+    {% block box-append %}
+    {% endblock %}
 </div>
 </div>