X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/dbdd1449a656f4c62055926d1531be95c2e6e66b..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 93e755f4d..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 }}
@@ -85,12 +87,9 @@ {% for other_version in book.other_versions %}
  • - {% 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 %} - {% 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 %}