X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6e3e08e5354baaf82f7d46cbd88883e4c7426dce..527c7d2a69707ac4266a9ba9ba48bdeabf63e8fd:/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 f697e4ee2..9f349bc23 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 %} @@ -110,8 +109,25 @@
- {% cache 86400 catalogue_book_short book.pk book|status:user %} - {% include 'catalogue/book_short.html' %} - {% endcache %} + {% include 'catalogue/book_short.html' %} +
+ +
+ {% annoy_banners 'book-text-intermission' %} + + {% for insert in inserts %} + {% with text=insert.choose %} + + {% endwith %} + {% endfor %}
{% endblock footer %}