X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0ee9de179914aa395f4b7475b7b9b6229c42b760..4d5f62cd29ea6056605de06356fad641100f426b:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index fed2d5b26..ff7b5199a 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -4,6 +4,8 @@ {% block title %}{{ book.title }} {% trans "on WolneLektury.pl" %}{% endblock %} +{% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %} + {% block bodyid %}book-detail{% endblock %} {% block body %} @@ -40,39 +42,97 @@
{% trans "Put a book" %} {% trans "on the shelf!" %}
{% trans "Artist" %}: {{ book.get_extra_info_value.artist_name }}
- {% if book.get_extra_info_value.director_name %} -{% trans "Director" %}: {{ book.get_extra_info_value.director_name }}
- {% endif %} + {% if book.has_html_file %} + {% trans "Read online" %} + {% endif %} ++ {% trans "Audiobooks" %}: + + {% if book.has_mp3_file %}MP3{% endif %} + {% if book.has_ogg_file %}Ogg Vorbis{% endif %} + {% if book.has_daisy_file %}DAISY{% endif %} + +
+{% trans "Audiobooks were prepared as a part of the projects:" %}
++ {% with projects.0.0 as cs %} + {% with projects.0.1 as fb %} + {% if fb %} + {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project funded by {{ fb }}.{% endblocktrans %} + {% else %} + {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project.{% endblocktrans %} + {% endif %} + {% endwith %} + {% endwith %} +
+ {% endif %} + {% endif %}{% trans "Loading" %}