X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..4db71d02697f83eac393bdf34fbe1aff54757df4:/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 339cfc7b2..17c4896b5 100644 --- a/src/catalogue/templates/catalogue/book_text.html +++ b/src/catalogue/templates/catalogue/book_text.html @@ -1,100 +1,202 @@ {% extends "catalogue/viewer_base.html" %} -{% load i18n %} -{% load catalogue_tags ssify %} +{% load i18n l10n %} +{% load catalogue_tags %} +{% load chunks %} {% load thumbnail %} +{% load annoy_banners from annoy %} {% block title %}{{ book.pretty_title }}{% endblock %} +{% block extrahead %} + + +{% endblock %} + {% block menu %} -
  • - {{ book.pretty_title }} -
  • - -{% if book.other_versions.exists %} -
  • + + {% trans "Click to download" %}: + {{ book.pretty_title }} +
  • + + {% if book.other_versions.exists %} + -{% endif %} + {% endif %} - + - + - + - + - -{% endblock menu %} + {% trans "Numbering" %} + {% trans "Themes" %} + {% trans "Footnotes" %} + {% trans "References" %} +{% endblock menu %} {% block big-pane %} -
    -
    - -
    - -
    +
    + {% with next=book.get_next_text prev=book.get_prev_text %} + {% if next %} + {{ next.title }} → + {% endif %} + {% if prev %} + ← {{ prev.title }} + {% endif %} +
    + {% content_warning book %} +
    +
    + {{ book_text|safe }} + {% endwith %} +
    + + + + -{% endblock big-pane %} +
    +
    +
    + x +
    +
    + +
    +{% endblock big-pane %} {% block footer %} -
    - {% book_info book %} -
    - -{% if book.other_versions.exists %} -
    -

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

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

    {% trans "Settings" %}

    - {% trans "Display line numbers" %}
    - {% trans "Display themes" %}
    - {% trans "Display footnotes" %}
    -
    - -
    - {% ssi_include 'catalogue_book_short' pk=book.pk %} -
    +
    + + {% localize off %} + + {% endlocalize %} {% endblock footer %}