X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/735368cfb54c8954518179993dcd3bc55e3878e7..5b5ccdc9dc573482feaded2eaa8110bc65f27cb7:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 3212ef445..dd4d9078a 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,134 +1,21 @@ {% extends "base.html" %} -{% load i18n %} +{% load cache i18n %} {% load catalogue_tags pagination_tags %} -{% block title %}{{ book.title }} {% trans "on WolneLektury.pl" %}{% endblock %} +{% block titleextra %}{{ book.pretty_title }}{% endblock %} + +{% block metadescription %}{% book_title book %}. {{ block.super }}{% 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 %} -{% trans "Toggle description" %} â²
{% 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 %} -{% trans "Loading" %}
-