X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0bd6d7d8e87e1d538661b6167d0a5d99428dfc39..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 f51e565e6..3953e6a9b 100644 --- a/src/catalogue/templates/catalogue/book_text.html +++ b/src/catalogue/templates/catalogue/book_text.html @@ -1,105 +1,133 @@ {% extends "catalogue/viewer_base.html" %} {% load i18n %} -{% load catalogue_tags ssify %} +{% load catalogue_tags %} +{% load chunks %} {% load thumbnail %} -{% load cache %} +{% 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" %} -
    + {% endwith %} {% endfor %} - {% endspaceless %} - -
    -{% endif %} - -
    -

    {% trans "Settings" %}

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