X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/07e5d48b0655d447b2dec96ad6e5e81e72ec4837..f05c817ca001b62ae84cbaa6dd659965553dee7e:/wolnelektury/templates/catalogue/book_detail.html
diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html
index c03614cea..0158eb86a 100644
--- a/wolnelektury/templates/catalogue/book_detail.html
+++ b/wolnelektury/templates/catalogue/book_detail.html
@@ -46,8 +46,8 @@
{% if book.pdf_file %}
{% trans "Download PDF" %}
{% endif %}
- {% if book.epub_file %}
- {% trans "Download EPUB" %}
+ {% if book.root_ancestor.epub_file %}
+ {% trans "Download EPUB" %}
{% endif %}
{% if book.odt_file %}
{% trans "Download ODT" %}
@@ -66,6 +66,7 @@
{% endif %}
{% if book.mp3_file %}{% trans "Download MP3" %}{% endif %}
{% if book.ogg_file %}{% trans "Download Ogg Vorbis" %}{% endif %}
+ {% if book.daisy_file %}{% trans "Download DAISY" %}{% endif %}
{% if book.mp3_file %}