X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e9f8a9269b64a5af7c95d6c2714b1ae97e68d6a1..2b96b3e346a68d086568c8fc57c1df455105c062:/apps/catalogue/templates/catalogue/book_text.html diff --git a/apps/catalogue/templates/catalogue/book_text.html b/apps/catalogue/templates/catalogue/book_text.html index 6addd41f9..37a8a1ed2 100644 --- a/apps/catalogue/templates/catalogue/book_text.html +++ b/apps/catalogue/templates/catalogue/book_text.html @@ -1,79 +1,100 @@ +{% extends "catalogue/viewer_base.html" %} {% load i18n %} -{% load static from staticfiles %} -{% load chunks compressed catalogue_tags %} - - - - - {% trans "Wolne Lektury" %} :: {{ book.pretty_title }} - - {% compressed_css "book" %} - - {% compressed_js "book" %} - - - - - {% include "annoy.html" %} - -
- {% book_info book %} -
-
- -
- -
-
    - {% for theme, fragments in book_themes %} -
  1. {{ theme }}: - {% for fragment in fragments %} - {{ forloop.counter }} - {% endfor %} -
  2. - {% endfor %} -
-
- {{ book.html_file.read|safe }} - {{ piwik_tag|safe }} - - +{% load catalogue_tags %} +{% load thumbnail %} + + +{% block title %}{{ book.pretty_title }}{% endblock %} + + +{% block menu %} +
  • + {{ book.pretty_title }} +
  • + +{% if book.other_versions.exists %} + +{% endif %} + + + + + + + + + + +{% endblock menu %} + + + +{% block big-pane %} +
    + +
    +{{ book.html_file.read|safe }} +
    + +
    + {% trans "Close" %} +
    {% trans "Please wait..." %}
    + +
    +{% 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" %}
    +
    + +
    + {% book_short book %} +
    +{% endblock footer %}