X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3d1fb545dd1f49e0624d3adf20e5568b1c33d8ec..06ae2ba67e697b8fa06229fc3117d4b081db1130:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 7d0adcb3c..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 %}
-                        
+                    {% if book.epub_file %}
+                        
                     {% endif %}
-                    {% if book.has_txt_file %}
+                    {% if book.mobi_file %}
+                        
+                    {% endif %}
+                    {% if book.txt_file %}
                         
                     {% endif %}
-                    {% for media in book.get_odt %}
-                        
-                    {% endfor %}
+			
+                    {% if book.pdf_file %}
+			@@ -181,6 +191,9 @@ {% if extra_info.source_url %}