X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/02b46ac5bb9ae5301e4764b9c111c971aa86b333..85f97b6322eacc6fa89788aba7998fc485f85cfc:/wolnelektury/templates/catalogue/book_wide.html diff --git a/wolnelektury/templates/catalogue/book_wide.html b/wolnelektury/templates/catalogue/book_wide.html index 59abe0f0f..cd52ff182 100644 --- a/wolnelektury/templates/catalogue/book_wide.html +++ b/wolnelektury/templates/catalogue/book_wide.html @@ -6,11 +6,13 @@ {% block right-column %} <div class="right-column"> <blockquote id="quote" class="cite-body"> + {% block quote %} <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> + {% endblock %} </blockquote> - <div id="other-tools"> + <div class="other-tools"> <h2 class="mono">{% trans "See" %}</h2> <ul class="inline-items"> {% if extra_info.source_url %} @@ -27,18 +29,18 @@ {% endif %} </ul> </div> - <div id="other-download"> + <div class="other-download"> <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" %}: - {% 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> - <a href="{% url custom_pdf_form %}?book_id={{book.fileid}}" id="custom-pdf" class="ajaxable">{% trans "Download a custom PDF" %}</a> + <a href="{% url custom_pdf_form %}?slug={{book.slug}}" id="custom-pdf" class="ajaxable">{% trans "Download a custom PDF" %}</a> </li> </ul> </div>