X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0a02421dd593f0466226b9defc33337cdbf672ef..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 e958d7060..3953e6a9b 100644 --- a/src/catalogue/templates/catalogue/book_text.html +++ b/src/catalogue/templates/catalogue/book_text.html @@ -1,8 +1,9 @@ {% 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 %} @@ -59,8 +60,9 @@ {% block big-pane %} +
- + {{ book_text|safe }}
@@ -87,10 +89,7 @@ - {% cache 86400 book_mini_box other_version.pk %} - {% include 'catalogue/book_mini_box.html' with book=other_version no_link=True %} - {% endcache %} - {#% ssi_include 'catalogue_book_mini_nolink' pk=other_version.pk %#} + {{ other_version.mini_box_nolink }} {% endfor %} @@ -112,4 +111,23 @@
{% include 'catalogue/book_short.html' %}
+ +
+ {% annoy_banners 'book-text-intermission' %} + + {% for insert in inserts %} + {% with text=insert.choose %} + + {% endwith %} + {% endfor %} +
{% endblock footer %}