X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/891c65c58eef499c1ffc3a5fe690e1b6bff0f0db..b0fadf2591f3af957c1c8e0307d0bcef9e9f8538:/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 78067d747..70915da13 100644 --- a/src/catalogue/templates/catalogue/book_text.html +++ b/src/catalogue/templates/catalogue/book_text.html @@ -10,12 +10,12 @@ {% block extrahead %} - - + + {% endblock %} {% block menu %} @@ -84,7 +84,7 @@ ← {{ prev.title }} {% endif %}
- {% content_warning book %} + {% content_warning book %}
{{ book_text|safe }} @@ -109,9 +109,18 @@ + {% 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.ancestors %} @@ -121,23 +130,23 @@ {{ b.title }}
    {% endfor %} - {% for b in book.get_siblings %} -
  1. - {% if b == book %} - {{ b.title }} -
    - {% else %} - {{ b.title }} - {% endif %} -
  2. - {% endfor %} + {% for b in book.get_siblings %} +
  3. + {% if b == book %} + {{ b.title }} +
    + {% else %} + {{ b.title }} + {% endif %} +
  4. + {% endfor %} - {% for b in book.ancestor.all %} + {% for b in book.ancestor.all %}
{% if not forloop.counter.last %} {% endif %} - {% endfor %} + {% endfor %} {% else %} {{ book.title }}
@@ -150,7 +159,7 @@
- {% book_info book %} + {% book_info book %}
{% if book.other_versions.exists %} @@ -185,6 +194,11 @@ {% endfor %} + +
+ +
+ {% localize off %} + {% endlocalize %} {% endblock footer %}