X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/292be7b4adfea60105ba78d74ace7425eb7a4284..af43a678694121f8b7c81a52a64d02c1b024fc57:/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 4ff3d5ef4..78067d747 100644 --- a/src/catalogue/templates/catalogue/book_text.html +++ b/src/catalogue/templates/catalogue/book_text.html @@ -1,5 +1,5 @@ {% extends "catalogue/viewer_base.html" %} -{% load i18n %} +{% load i18n l10n %} {% load catalogue_tags %} {% load chunks %} {% load thumbnail %} @@ -9,9 +9,19 @@ {% block title %}{{ book.pretty_title }}{% endblock %} +{% block extrahead %} + + +{% endblock %} + {% block menu %}
  • + {% trans "Click to download" %}: {{ book.pretty_title }}
  • - - + + {% trans "Numbering" %} + {% trans "Themes" %} + {% trans "Footnotes" %} + {% trans "References" %} + {% endblock menu %} @@ -69,6 +83,10 @@ {% if prev %} ← {{ prev.title }} {% endif %} +
    + {% content_warning book %} +
    +
    {{ book_text|safe }} {% endwith %} @@ -80,16 +98,27 @@
    {% trans "Please wait..." %}
    + +
    +
    + x +
    +
    + +
    + + + {% endblock big-pane %} {% block footer %}
    {% 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 %} @@ -98,7 +127,7 @@ {{ b.title }}
      {% else %} - {{ b.title }} + {{ b.title }} {% endif %} {% endfor %} @@ -112,6 +141,11 @@ {% else %} {{ book.title }}
      +
        + {% for c in book.get_children %} +
      1. {{ c.title }}
      2. + {% endfor %} +
      {% endif %}
  • @@ -139,16 +173,6 @@ {% endif %} -
    -

    {% trans "Settings" %}

    - {% trans "Display line numbers" %}
    - {% trans "Display themes" %}
    - {% trans "Display footnotes" %}
    -
    -
    {% include 'catalogue/book_short.html' %}
    @@ -160,4 +184,25 @@ {% include 'annoy/dynamic_insert.html' %} {% endfor %} + + {% localize off %} + + {% endlocalize %} {% endblock footer %}