X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/847fe6bcff6dc95e389656d78ba02372b5686b86..757ec785cad3a4559f1a9d21ec8d2c291f5cd1fe:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 27f2e7287..dd4d9078a 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,138 +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 "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" %}
-