X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b9bf77dc8f2d4b1b64bd7a29730bec3e3f885a6e..54e4ec4a3aac555f44ea604c12a3955592b5d568:/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 %}
                         
                     {% endif %}
-                    {% if book.root_ancestor.epub_file %}
-                        
+                    {% if book.epub_file %}
+                        
                     {% endif %}
                     {% if book.mobi_file %}
                         
@@ -58,9 +58,6 @@
                     {% if book.txt_file %}
                         
                     {% endif %}
-                    {% for media in book.get_odt %}
-                        
-                    {% endfor %}
 			
                     {% if book.pdf_file %}
 			
{% trans "Dowload customized PDF" %}.