X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/84aecebd96f2bc8a27396ecf10c409a8b91e1bcc..de93f8f95b089c292500c0f4c2bd1adf06e305cf:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index ffb586b8b..2e423a01b 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -40,58 +40,63 @@
{% trans "Put a book" %} {% trans "on the shelf!" %}
ODT
-OGG
-DAISY
-MP3
- -
-                 +                    {% endif %}
+                    {% if book.root_ancestor.epub_file %}
+
+                    {% endif %}
+                    {% if book.root_ancestor.epub_file %}
+                         +                    {% endif %}
+                    {% if book.has_txt_file %}
+
+                    {% endif %}
+                    {% if book.has_txt_file %}
+                         +                    {% endif %}
+                    {% if book.has_odt_file %}
+
+                    {% endif %}
+                    {% if book.has_odt_file %}
+                         +                    {% endif %}                
+
+                    {% endif %}                
+                + {% trans "Audiobooks" %}: + {% if book.has_mp3_file %}MP3{% endif %} + {% if book.has_ogg_file %}OGG{% endif %} + {% if book.has_daisy_file %}DAISY{% endif %} +
+ +                    {% if book.has_ogg_file %}
+
+                    {% if book.has_ogg_file %}
+                        {% trans "Audiobooks were prepared as a part of project" %}: CzytamySÅuchajÄ c.