X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e90ee714cc724f21519efa3499dd71d03bb44db0..3ecd7222f0493c2bdb4de0fdb7dc02f4b4767457:/wolnelektury/templates/catalogue/book_text.html diff --git a/wolnelektury/templates/catalogue/book_text.html b/wolnelektury/templates/catalogue/book_text.html index 61ca7f3fb..3bf33590e 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,11 +6,82 @@ {% block title %}WolneLektury.pl{% endblock %} - + {% compressed_css "book" %} - {% compressed_js "all" %} + {% compressed_js "jquery" %} + {% compressed_js "book" %} - {% for chunk in book.html_file.chunks %}{{ chunk|safe }}{% endfor %} + +
+

+ {% 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.technical_editors or book.get_extra_info_value.editors %} +

{% trans "Edited and annotated by:" %} + {% for name in book.get_extra_info_value.technical_editors|add:book.get_extra_info_value.editors %}{% if not forloop.first %}, {% endif %} + {% person_name name %}{% endfor %}.

+ {% endif %} + + + + +

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