X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/fb10f5b89c782ff4e25d0100e09a8c1ba4002de7..22a9e609d7f00bac9d88306d3c9f4cf3bd244dee:/wolnelektury/templates/catalogue/book_detail.html
diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html
index c03614cea..fed2d5b26 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" %}