X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6e75a30246598a40cabb8ca1498c3a4f6f146c91..6cc5df1faff7c600d0cf4b4174621eca99e86354:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index ff7b5199a..c47e2176d 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -39,18 +39,18 @@
{% trans "Put a book" %} {% trans "on the shelf!" %}
+{% trans "Put a book" %} {% trans "on the shelf!" %}
{% endif %}
- {% if book.root_ancestor.epub_file %}
-
+ {% if book.epub_file %}
+
{% endif %}
{% if book.mobi_file %}
@@ -58,9 +58,16 @@
{% if book.txt_file %}
{% endif %}
- {% for media in book.get_odt %}
-
- {% endfor %}
+
+ {% if book.pdf_file %}
+ @@ -195,13 +202,13 @@ {% endif %}
- +