X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/77baf8640ab29684909b9f57cd9d4999dad2071f..8a8f5dd4b7f9971510d624d61455baf0bde4221c:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 8ac23a3a6..7f262374d 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -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"> @@ -49,7 +51,7 @@ <ul class="book-box-tools"> <li class="book-box-read"> {% if book.html_file %} - <a href="{% url book_text book.urlid %}" class="mono downarrow">{% trans "Read online" %}</a> + <a href="{% url book_text book.slug %}" class="mono downarrow">{% trans "Read online" %}</a> {% endif %} </li> <li class="book-box-download"> @@ -71,9 +73,11 @@ </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>