X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0e5d2336c7c6357e09c9572186cc7b4bb937f102..4dc96918a2e2df441c282a7abbb89235ecb4f2f7:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index b9faea6fb..fed2d5b26 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -13,6 +13,18 @@
+ + {% if extra_info.license %}

{% trans "Work is licensed under " %} {{ extra_info.license_description }}.

{% endif %} @@ -34,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" %}