X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/84aecebd96f2bc8a27396ecf10c409a8b91e1bcc..49e2be0521e11928d5f00378907e478d1bd703a4:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index ffb586b8b..5c0a047f4 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -2,15 +2,14 @@ {% load i18n %} {% load catalogue_tags pagination_tags %} -{% block title %}{{ book.title }} {% trans "on WolneLektury.pl" %}{% endblock %} +{% block titleextra %}{{ book.title }}{% endblock %} + +{% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %} {% block bodyid %}book-detail{% endblock %} {% block body %}
{% trans "Put a book" %} {% trans "on the shelf!" %}
+{% trans "Put a book" %} {% trans "on the shelf!" %}
ODT
-OGG
-DAISY
-MP3
- -+ {% 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 %}