X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9574b970bdd6e28fc6178b736e8e17dfca15fd4e..a0f904af83bea5306b09fd66d8dfa254761f5a07:/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..67372b3dd 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 %}
  • - {% trans "Kliknij, by pobrać" %}: + {{ book.pretty_title }} @@ -31,43 +32,51 @@ {% if book.other_versions.exists %}
  • {% endif %} + {% if extra_info.logo_mono %} + {% thumbnail extra_info.logo_mono '200x200' as th %} + {{ extra_info.logo_alt|default:'Sponsor' }} + {% endthumbnail %} + {% endif %} + {% trans "Numbering" %} + data-setting="always-hide-line-numbers">{% trans "Numeracja" %} {% trans "Themes" %} + data-setting="always-hide-themes">{% trans "Motywy" %} {% trans "Footnotes" %} + data-setting="no-annotations">{% trans "Przypisy" %} {% trans "References" %} + data-setting="no-references">{% trans "Pinezki" %} {% endblock menu %} @@ -83,7 +92,7 @@ ← {{ prev.title }} {% endif %}
    - {% content_warning book %} + {% content_warning book %}
    {{ book_text|safe }} @@ -93,8 +102,8 @@
    - {% trans "Close" %} -
    {% trans "Please wait..." %}
    + {% trans "Zamknij" %} +
    {% trans "Proszę czekać..." %}
    @@ -108,49 +117,63 @@ + {% 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 %}