X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/7e6d14043e3e2dce8e3fdcef0b0fc649680b07b3..e34cbdf5e06f7766f748440a875ddaed6b90461b:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 2d83c733b..c47e2176d 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -49,8 +49,8 @@ {% if book.pdf_file %} {% trans {% endif %} - {% if book.root_ancestor.epub_file %} - {% trans + {% if book.epub_file %} + {% trans {% endif %} {% if book.mobi_file %} {% trans @@ -58,9 +58,6 @@ {% if book.txt_file %} {% trans {% endif %} - {% for media in book.get_odt %} - {% trans - {% endfor %} {% if book.pdf_file %}
{% trans "Dowload customized PDF" %}.