X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/190ea6f071ad6ef7b03aa146e5d07d15968eaf2b..8885fd14f5f040eb3aa69f1d705856f99a1fa572:/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 7d32a2280..041a07a28 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,10 +9,20 @@ {% block title %}{{ book.pretty_title }}{% endblock %} +{% block extrahead %} + + +{% endblock %} + {% block menu %}
  • - {% trans "Kliknij, by pobrać" %}: + {{ book.pretty_title }} @@ -22,41 +32,49 @@ {% if book.other_versions.exists %}
  • {% endif %} + {% if extra_info.logo_mono %} + {% thumbnail extra_info.logo_mono '200x200' as th %} + + {% endthumbnail %} + {% endif %} + {% trans "Numbering" %} + data-setting="always-hide-line-numbers">{% trans "Numeracja" %} {% trans "Themes" %} - {% trans "Footnotes" %} + data-setting="always-hide-themes">{% trans "Motywy" %} + {% trans "Przypisy" %} + {% trans "Pinezki" %} {% endblock menu %} @@ -71,6 +89,9 @@ {% if prev %} ← {{ prev.title }} {% endif %} +
    + {% content_warning book %} +
    {{ book_text|safe }} {% endwith %} @@ -79,53 +100,78 @@
    - {% trans "Close" %} -
    {% trans "Please wait..." %}
    + {% trans "Zamknij" %} +
    {% trans "Proszę czekać..." %}
    + +
    +
    + x +
    +
    + +
    + + + + {% endblock big-pane %} {% block footer %} + {% if book.has_sync_file %} +
    + {% include 'catalogue/snippets/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 %} -
    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 }}
    +
      + {% for c in book.get_children %} +
    1. {{ c.title }}
    2. + {% endfor %} +
    {% endif %}
    - {% book_info book %} + {% book_info book %}
    {% if book.other_versions.exists %}
    -

    {% trans "Other versions of the book" %}

    - {% trans "Close the other version" %} +

    {% trans "Inne wersje utworu" %}

    + {% trans "Zamknij drugą wersję" %}
    + + +
    + +
    + + {% localize off %} + + + {% endlocalize %} {% endblock footer %}