X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2983d583c9de4c33ed73d6c06d9d6eb54b30f15e..4db71d02697f83eac393bdf34fbe1aff54757df4:/src/catalogue/templates/catalogue/book_text.html?ds=sidebyside
diff --git a/src/catalogue/templates/catalogue/book_text.html b/src/catalogue/templates/catalogue/book_text.html
index 5894fe825..17c4896b5 100644
--- a/src/catalogue/templates/catalogue/book_text.html
+++ b/src/catalogue/templates/catalogue/book_text.html
@@ -1,16 +1,27 @@
{% extends "catalogue/viewer_base.html" %}
-{% load i18n %}
-{% load catalogue_tags ssify %}
+{% load i18n l10n %}
+{% load catalogue_tags %}
+{% load chunks %}
{% load thumbnail %}
-{% load cache %}
+{% load annoy_banners from annoy %}
{% block title %}{{ book.pretty_title }}{% endblock %}
+{% block extrahead %}
+
+
+{% endblock %}
+
{% block menu %}
-
+ {% 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 %}
+
+
{% trans "Close" %}
{% trans "Please wait..." %}
-{% endblock big-pane %}
+
+
-
{% trans "Settings" %}
-
{% trans "Display line numbers" %}
-
{% trans "Display themes" %}
-
{% trans "Display footnotes" %}
+
+ {% include 'catalogue/book_short.html' %}
-
- {% get_current_language as LANGUAGE_CODE %}
- {% cache 86400 book_short book.pk book|status:user LANGUAGE_CODE %}
- {% include 'catalogue/book_short.html' %}
- {% endcache %}
+
+ {% annoy_banners 'book-text-intermission' %}
+
+ {% for insert in inserts %}
+ {% include 'annoy/dynamic_insert.html' %}
+ {% endfor %}
+
+ {% localize off %}
+
+ {% endlocalize %}
{% endblock footer %}