X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/854b0db58a805fd7ec2d262abda0aef02ca6e469..dd425f4b68f52cd5ac634104780cb48998af9562:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 676cc0bb6..660bf2602 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -40,58 +40,70 @@
{% trans "Put a book" %} {% trans "on the shelf!" %}
ODT
-OGG
-DAISY
-MP3
-
-
+ {% endif %}
+ {% if book.root_ancestor.epub_file %}
+
+ {% endif %}
+ {% if book.has_txt_file %}
+
+ {% endif %}
+ {% for media in book.get_odt %}
+
+ {% endfor %}
+ + {% trans "Audiobooks" %}: + + {% if book.has_mp3_file %}MP3{% endif %} + {% if book.has_ogg_file %}Ogg Vorbis{% endif %} + {% if book.has_daisy_file %}DAISY{% endif %} + +
+
+ {% if book.has_mp3_file %}
+ {% blocktrans with 'CzytamySÅuchajÄ c' as cs %}Audiobooks were prepared as a part of the {{ cs }} project.{% endblocktrans %} +
+ {% endif %}