X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0e8c1e1029c9a8039600d87553f206410647e6b4..0ee9de179914aa395f4b7475b7b9b6229c42b760:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 4a8a9313c..fed2d5b26 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -13,8 +13,20 @@
+ + {% if extra_info.license %} -

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

+

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

{% endif %}

{% trans "Based on" %}: {{ extra_info.source_name }}

{% if book.has_description %} @@ -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" %}