X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e5e8226c4d4bd610de5983e69b1b13684a17fe75..1cfd896963379af2d46a08dde3a3cbb24763066c:/apps/catalogue/templates/catalogue/book_text.html diff --git a/apps/catalogue/templates/catalogue/book_text.html b/apps/catalogue/templates/catalogue/book_text.html index 027a75807..d2d5d330e 100644 --- a/apps/catalogue/templates/catalogue/book_text.html +++ b/apps/catalogue/templates/catalogue/book_text.html @@ -1,4 +1,6 @@ {% load i18n %} +{% load url from future %} +{% load static from staticfiles %} {% load chunks compressed catalogue_tags %} @@ -6,7 +8,7 @@ {% trans "Wolne Lektury" %} :: {{ book.pretty_title }} - + {% compressed_css "book" %} {% compressed_js "book" %} @@ -24,6 +26,10 @@
  • {% trans "Infobox" %}
  • {% trans "Book's page" %}
  • {% trans "Download" %}
  • + {% if related.media.mp3 or related.media.ogg %} +
  • + {% trans "Listen" %}
  • + {% endif %}
    @@ -34,20 +40,24 @@ {% if book.pdf_file %}
  • PDF {% trans "to print" %}
  • {% endif %} - {% if book.epub_file %} + {% if book.epub_file %}
  • EPUB {% trans "for a reader" %}
  • {% endif %} - {% if book.mobi_file %} + {% if book.mobi_file %}
  • MOBI {% trans "for Kindle" %}
  • {% endif %} - {% if book.txt_file %} + {% if book.txt_file %}
  • TXT {% trans "for advanced usage" %}
  • {% endif %} -
  • {% trans "Download a custom PDF" %}
  • + {% custom_pdf_link_li book %} + {% if related.media.mp3 or related.media.ogg or related.media.daisy %} +
  • {% trans "Download all audiobooks for this book" %}: + {% download_audio book %}
  • + {% endif %}