X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6dc2540f663c92368314d610d161f3044fcc845c..76fc2ed0abc7ff4bb7ddee798a115f11bf51ee1c:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index b9e95d0f7..4b4ee2f18 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,57 +1,145 @@ {% extends "base.html" %} +{% load i18n %} {% load catalogue_tags pagination_tags %} -{% block title %}Lektura {{ book.title }} w WolneLektury.pl{% endblock %} +{% block titleextra %}{{ book.title }}{% endblock %} + +{% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %} {% block bodyid %}book-detail{% endblock %} {% block body %} -
Na podstawie: {{ extra_info.source_name }}
+ + + {% if extra_info.license %} +{% trans "Work is licensed under " %} {{ extra_info.license_description }}.
+ {% endif %} +{% trans "Based on" %}: {{ extra_info.source_name }}
{% if book.has_description %}ZwiÅ opis â²
WrzuÄ lekturÄ na póÅkÄ!
+{% trans "Put a book" %} {% trans "on the shelf!" %}
Czyta: {{ book.get_extra_info_value.artist_name }}
-Reżyseruje: {{ book.get_extra_info_value.director_name }}
+ {% 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 %}Åadowanie
-