X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/dbe845386fa136ccb8571e50dadb3c882661a59b..06ae2ba67e697b8fa06229fc3117d4b081db1130:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 66a39f548..c47e2176d 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,106 +1,223 @@ {% extends "base.html" %} -{% load catalogue_tags %} +{% load i18n %} +{% load catalogue_tags pagination_tags %} -{% block title %}Lektura {{ book.title }} w WolneLektury.pl{% endblock %} +{% block title %}{{ book.title }} {% trans "on WolneLektury.pl" %}{% endblock %} -{% block bodyid %}book-detail{% endblock %} +{% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %} -{% block extrahead %} - -{% endblock %} +{% block bodyid %}book-detail{% endblock %} {% block body %} -
{% trans "Work is licensed under " %} {{ extra_info.license_description }}.
+ {% endif %} +{% trans "Based on" %}: {{ extra_info.source_name }}
{% if book.has_description %}ZwiÅ opis â²
{% trans "Put a book" %} {% trans "on the shelf!" %}
+ ++ {% 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" %}
+