X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d316a52151685a1b7c295baa12b73a73eabe5657..560fda9dbc19a0019af8449b3d3393305fffa743:/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 53a0c6a5f..eede9747d 100644 --- a/apps/catalogue/templates/catalogue/book_text.html +++ b/apps/catalogue/templates/catalogue/book_text.html @@ -1,4 +1,5 @@ {% load i18n %} +{% load url from future %} {% load static from staticfiles %} {% load chunks compressed catalogue_tags %} + {% include "annoy.html" %}
@@ -35,16 +41,23 @@ {% 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.fb2_file %} +
  • FB2 {% trans "FictionBook" %}
  • + {% endif %} + {% 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 %}
    {{ book.html_file.read|safe }} {{ piwik_tag|safe }} - -