X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..05cca019b7dba62e457feb47df10e7a41dd939ef:/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..3953e6a9b 100644 --- a/src/catalogue/templates/catalogue/book_text.html +++ b/src/catalogue/templates/catalogue/book_text.html @@ -1,100 +1,133 @@ {% extends "catalogue/viewer_base.html" %} {% load i18n %} -{% load catalogue_tags ssify %} +{% load catalogue_tags %} +{% load chunks %} {% load thumbnail %} +{% load annoy_banners from annoy %} {% block title %}{{ book.pretty_title }}{% endblock %} {% block menu %} -
  • - {{ book.pretty_title }} -
  • - -{% if book.other_versions.exists %} -
  • + + {{ book.pretty_title }} +
  • + + {% if book.other_versions.exists %} + -{% endif %} + {% endif %} - + - + - + - + - + {% endblock menu %} - {% block big-pane %} -
    -
    - -
    +
    + {{ book_text|safe }} +
    -
    + +
    {% 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 %} - -
    +
    + {% book_info book %} +
    + + {% if book.other_versions.exists %} +
    +

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

    + {% trans "Close the other version" %} + +
    + {% endif %} + + - -
    - {% ssi_include 'catalogue_book_short' pk=book.pk %} -
    + {% trans "Display line numbers" %}
    + {% trans "Display themes" %}
    + {% trans "Display footnotes" %}
    +
    + +
    + {% include 'catalogue/book_short.html' %} +
    + +
    + {% annoy_banners 'book-text-intermission' %} + + {% for insert in inserts %} + {% with text=insert.choose %} + + {% endwith %} + {% endfor %} +
    {% endblock footer %}