stars and tags instead of shelves, move to social app
[wolnelektury.git] / wolnelektury / templates / catalogue / book_wide.html
1 {% extends "catalogue/book_short.html" %}
2 {% load i18n %}
3
4 {% block box-class %}book-wide-box{% endblock %}
5
6 {% block right-column %}
7 <div class="right-column">
8   <blockquote id="quote" class="cite-body">
9     <div>Ten, który walczy z potworami powinien zadbać, by sam nie stał się potworem. 
10     Gdy długo spoglądamy w otchłań, otchłań spogląda również w nas.</div>
11   </blockquote>
12
13
14   <div id="other-tools">
15     <h2 class="mono">{% trans "See" %}</h2>
16     <ul class="inline-items">
17       {% if extra_info.source_url %}
18       <li><a href="{{ extra_info.source_url }}">{% trans "Source" %}</a> {% trans "of the book" %}</li>
19       {% endif %}
20       {% if extra_info.about and not hide_about %}
21       <li>{% trans "Book on" %} <a href="{{ extra_info.about }}">{% trans "Editor's Platform" %}</a></li>
22       {% endif %}
23       {% if book.gazeta_link %}
24       <li><a href="{{ book.gazeta_link }}">{% trans "Book description on Lektury.Gazeta.pl" %}</a></li>
25       {% endif %}
26       {% if book.wiki_link %}
27       <li><a href="{{ book.wiki_link }}">{% trans "Book description on Wikipedia" %}</a></li>
28       {% endif %}
29     </ul>
30   </div>
31   <div id="other-download">
32     <h2 class="mono">{% trans "Download" %}</h2>
33     <ul class="inline-items">
34       <li>
35         {% if related.media.mp3 or related.media.ogg %}
36         {% trans "Download all audiobooks for this book" %}: 
37         {% if related.media.mp3 %}<a href="{% url download_zip_mp3 book.slug %}">MP3</a>{% endif %}{% if related.media.mp3 and related.media.ogg %},{% endif %}
38         {% if related.media.ogg %}<a href="{% url download_zip_ogg book.slug %}">OGG</a>{% endif %}.
39         {% endif %}
40       </li>
41       <li>
42         <a href="{% url custom_pdf_form %}?slug={{book.slug}}" id="custom-pdf" class="ajaxable">{% trans "Download a custom PDF" %}</a>
43       </li>
44     </ul>
45   </div>
46 </div>
47 {% endblock %}