X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9a938c8b406ce05e3bca4a5a483d473ece9e17b0..025b93b1df94c65df26c896284580f2b00756f0a:/src/catalogue/templates/catalogue/book_wide.html diff --git a/src/catalogue/templates/catalogue/book_wide.html b/src/catalogue/templates/catalogue/book_wide.html index aa78292a8..d7c2a09d5 100644 --- a/src/catalogue/templates/catalogue/book_wide.html +++ b/src/catalogue/templates/catalogue/book_wide.html @@ -1,39 +1,68 @@ {% extends "catalogue/book_short.html" %} {% load i18n %} -{% load choose_fragment download_audio custom_pdf_link_li license_icon source_name from catalogue_tags %} +{% load choose_fragment license_icon from catalogue_tags %} {% load choose_cite from social_tags %} -{% load ssi_include from ssify %} +{% load status from catalogue_tags %} +{% load chunks %} {% block box-class %}book-wide-box{% endblock %} +{% block cover-link %}{% if book.get_first_text %}{% url 'book_text' book.get_first_text.slug %}{% endif %}{% endblock %} + + {% block cover-area-extra %} -{% if extra_info.license %} - {% license_icon extra_info.license %} -{% endif %} + {% with license=book.get_extra_info_json.license %} + {% if license %} + {% license_icon license %} + {% endif %} + {% endwith %} +{% endblock %} + + +{% block preview-info %} +
+ {% chunk "book-preview-warn" %} +
{% endblock %} + {% block right-column %}