fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some refactoring & documentation changes in search.
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
book_short.html
diff --git
a/wolnelektury/templates/catalogue/book_short.html
b/wolnelektury/templates/catalogue/book_short.html
index
8ac23a3
..
7f26237
100644
(file)
--- a/
wolnelektury/templates/catalogue/book_short.html
+++ b/
wolnelektury/templates/catalogue/book_short.html
@@
-1,6
+1,6
@@
{% load i18n %}
{% load thumbnail %}
{% 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 %}
<div class="book-box-inner">
<a href="{{ book.get_absolute_url }}">
{% if book.cover %}
@@
-13,6
+13,8
@@
" alt="Cover" />
{% endif %}
</a>
" alt="Cover" />
{% endif %}
</a>
+ {% block right-column %}
+ {% endblock %}
<div class="book-box-body">
<div class="book-box-head">
<div class="mono author">
<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 %}
<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">
{% endif %}
</li>
<li class="book-box-download">
@@
-71,9
+73,11
@@
</li>
<li class="book-box-audiobook">
{% if book.has_mp3_file %}
</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>
{% endif %}
</li>
</ul>
+ {% block box-append %}
+ {% endblock %}
</div>
</div>
</div>
</div>