fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
book children are back, + related books
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
book_wide.html
diff --git
a/wolnelektury/templates/catalogue/book_wide.html
b/wolnelektury/templates/catalogue/book_wide.html
index
0506c8e
..
ebbea8c
100644
(file)
--- a/
wolnelektury/templates/catalogue/book_wide.html
+++ b/
wolnelektury/templates/catalogue/book_wide.html
@@
-1,16
+1,16
@@
{% extends "catalogue/book_short.html" %}
{% load i18n %}
{% extends "catalogue/book_short.html" %}
{% load i18n %}
+{% load cite_promo from social_tags %}
{% block box-class %}book-wide-box{% endblock %}
{% block right-column %}
<div class="right-column">
{% block box-class %}book-wide-box{% endblock %}
{% block right-column %}
<div class="right-column">
- <blockquote id="quote" class="cite-body">
- <div>Ten, który walczy z potworami powinien zadbać, by sam nie stał się potworem.
- Gdy długo spoglądamy w otchłań, otchłań spogląda również w nas.</div>
- </blockquote>
+ <div class="quote">
+ {% cite_promo book 1 %}
+ </div>
- <div
id
="other-tools">
+ <div
class
="other-tools">
<h2 class="mono">{% trans "See" %}</h2>
<ul class="inline-items">
{% if extra_info.source_url %}
<h2 class="mono">{% trans "See" %}</h2>
<ul class="inline-items">
{% if extra_info.source_url %}
@@
-27,14
+27,14
@@
{% endif %}
</ul>
</div>
{% endif %}
</ul>
</div>
- <div
id
="other-download">
+ <div
class
="other-download">
<h2 class="mono">{% trans "Download" %}</h2>
<ul class="inline-items">
<li>
<h2 class="mono">{% trans "Download" %}</h2>
<ul class="inline-items">
<li>
- {% if
has_media.mp3 or has_
media.ogg %}
+ {% if
related.media.mp3 or related.
media.ogg %}
{% trans "Download all audiobooks for this book" %}:
{% trans "Download all audiobooks for this book" %}:
- {% if
has_media.mp3 %}<a href="{% url download_zip_mp3 book.slug %}">MP3</a>{% endif %}{% if has_media.mp4 and has_
media.ogg %},{% endif %}
- {% if
has_
media.ogg %}<a href="{% url download_zip_ogg book.slug %}">OGG</a>{% endif %}.
+ {% if
related.media.mp3 %}<a href="{% url download_zip_mp3 book.slug %}">MP3</a>{% endif %}{% if related.media.mp3 and related.
media.ogg %},{% endif %}
+ {% if
related.
media.ogg %}<a href="{% url download_zip_ogg book.slug %}">OGG</a>{% endif %}.
{% endif %}
</li>
<li>
{% endif %}
</li>
<li>