X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/73e3cc6c4b80f1afbfc78fc7ccd6f6cfc90b719c..3438c79639fca7268c397dd3fcfdcf9ca5014a09:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 3d0b92d18..c47e2176d 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -39,25 +39,35 @@
{% trans "Put a book" %} {% trans "on the shelf!" %}
+{% trans "Put a book" %} {% trans "on the shelf!" %}
 {% endif %}
-                    {% if book.root_ancestor.epub_file %}
-
                     {% endif %}
-                    {% if book.root_ancestor.epub_file %}
-                         +                    {% if book.epub_file %}
+
+                    {% if book.epub_file %}
+                         {% endif %}
-                    {% if book.has_txt_file %}
+                    {% if book.mobi_file %}
+
                     {% endif %}
-                    {% if book.has_txt_file %}
+                    {% if book.mobi_file %}
+                         +                    {% endif %}
+                    {% if book.txt_file %}
+                    {% endif %}
+                    {% if book.txt_file %}
                          {% endif %}
-                    {% for media in book.get_odt %}
-
                     {% endif %}
-                    {% for media in book.get_odt %}
-                         -                    {% endfor %}
+			
+                    {% if book.pdf_file %}
+
-                    {% endfor %}
+			
+                    {% if book.pdf_file %}
+			@@ -181,7 +191,7 @@ {% if extra_info.source_url %}