stars and tags instead of shelves, move to social app
[wolnelektury.git] / wolnelektury / templates / catalogue / book_wide.html
index 1cfde2e..a13f1a6 100644 (file)
     Gdy długo spoglądamy w otchłań, otchłań spogląda również w nas.</div>
   </blockquote>
 
+
   <div id="other-tools">
     <h2 class="mono">{% trans "See" %}</h2>
-    <ul>
+    <ul class="inline-items">
       {% if extra_info.source_url %}
-      <li><a href="{{ extra_info.source_url }}">{% trans "Source of the book" %}</a></li>
+      <li><a href="{{ extra_info.source_url }}">{% trans "Source" %}</a> {% trans "of the book" %}</li>
       {% endif %}
       {% if extra_info.about and not hide_about %}
-      <li><a href="{{ extra_info.about }}">{% trans "Book on the Editor's Platform" %}</a></li>
+      <li>{% trans "Book on" %} <a href="{{ extra_info.about }}">{% trans "Editor's Platform" %}</a></li>
       {% endif %}
       {% if book.gazeta_link %}
       <li><a href="{{ book.gazeta_link }}">{% trans "Book description on Lektury.Gazeta.pl" %}</a></li>
   </div>
   <div id="other-download">
     <h2 class="mono">{% trans "Download" %}</h2>
-    <p>{% trans "Download all audiobooks for this book" %}</p>
+    <ul class="inline-items">
+      <li>
+       {% if related.media.mp3 or related.media.ogg %}
+       {% trans "Download all audiobooks for this book" %}: 
+       {% 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 %}?slug={{book.slug}}" id="custom-pdf" class="ajaxable">{% trans "Download a custom PDF" %}</a>
+      </li>
+    </ul>
   </div>
 </div>
 {% endblock %}