X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/65a1f637391920c91a42cfd36695e55b84a1eb95..9e556c1938577b991edfcb0a0248fcca92d67f3e:/wolnelektury/templates/catalogue/book_text.html diff --git a/wolnelektury/templates/catalogue/book_text.html b/wolnelektury/templates/catalogue/book_text.html index d733555a6..a6dc6a7d8 100644 --- a/wolnelektury/templates/catalogue/book_text.html +++ b/wolnelektury/templates/catalogue/book_text.html @@ -1,3 +1,4 @@ +{% load i18n %} {% load chunks compressed catalogue_tags %} @@ -5,7 +6,7 @@ {% block title %}WolneLektury.pl{% endblock %} - + {% compressed_css "book" %} {% compressed_js "jquery" %} {% compressed_js "book" %} @@ -13,15 +14,66 @@ +
+

+ {% if book.get_extra_info_value.license %} + {% trans "This work is licensed under:" %} + {{ book.get_extra_info_value.license_description }} + {% else %} + {% blocktrans %}This work isn't covered by copyright and is part of the + public domain, which means it can be freely used, published and + distributed. If there are any additional copyrighted materials + provided with this work (such as annotations, motifs etc.), those + materials are licensed under the + Creative Commons Attribution-ShareAlike 3.0 + license.{% endblocktrans %} + {% endif %} +

+ + {% if book.get_extra_info_value.source_name %} +

{% trans "Text prepared based on:" %} {{ book.get_extra_info_value.source_name }}

+ {% endif %} + + {% if book.get_extra_info_value.description %} +

{{ book.get_extra_info_value.description }}

+ {% endif %} + + {% if book.get_extra_info_value.editor or book.get_extra_info_value.technical_editor %} +

{% trans "Edited and annotated by:" %} + {% all_editors book.get_extra_info_value %}.

+ {% endif %} + +
+
+
    + {% for theme, fragments in book_themes %} +
  1. {{ theme }}: + {% for fragment in fragments %} + {{ forloop.counter }} + {% endfor %} +
  2. + {% endfor %} +
+
{{ book.html_file.read|safe }} + +