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