X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9574b970bdd6e28fc6178b736e8e17dfca15fd4e..ddf2102eff7ea420a4ea5144c43409587fc1156e:/src/catalogue/templates/catalogue/book_text.html
diff --git a/src/catalogue/templates/catalogue/book_text.html b/src/catalogue/templates/catalogue/book_text.html
index 27601d87d..758c8cb81 100644
--- a/src/catalogue/templates/catalogue/book_text.html
+++ b/src/catalogue/templates/catalogue/book_text.html
@@ -10,18 +10,19 @@
{% block extrahead %}
-
-
+
+
{% endblock %}
{% block menu %}
← {{ prev.title }}
{% endif %}
- {% content_warning book %}
+ {% content_warning book %}
{{ book_text|safe }}
@@ -108,43 +109,57 @@
+
{% endblock big-pane %}
{% block footer %}
+ {% if book.has_sync_file %}
+
+ {% include 'catalogue/snippets/2022_jplayer_reader.html' %}
+
+
+ {% endif %}
{% if book.parent %}
- {% for b in book.ancestor.all %}
+ {% for b in book.ancestors %}
{% if forloop.counter > 1 %}
{% endif %}
- {{ b.title }}
+ {{ b.title }}
{% endfor %}
- {% for b in book.get_siblings %}
- -
- {% if b == book %}
- {{ b.title }}
-
- {% else %}
- {{ b.title }}
- {% endif %}
-
- {% endfor %}
+ {% for b in book.get_siblings %}
+ -
+ {% if b == book %}
+ {{ b.title }}
+
+ {% else %}
+ {{ b.title }}
+ {% endif %}
+
+ {% endfor %}
- {% for b in book.ancestor.all %}
+ {% for b in book.ancestor.all %}
{% if not forloop.counter.last %}
{% endif %}
- {% endfor %}
+ {% endfor %}
{% else %}
{{ book.title }}
+
+ {% for c in book.get_children %}
+ - {{ c.title }}
+ {% endfor %}
+
{% endif %}
- {% book_info book %}
+ {% book_info book %}
{% if book.other_versions.exists %}
@@ -179,10 +194,15 @@
{% endfor %}
+
+
+
+
+
{% localize off %}
+
{% endlocalize %}
{% endblock footer %}