From 95540212503565ab22fe706bab0c9dd80b14d61e Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 17 Jun 2019 15:54:33 +0200 Subject: [PATCH 1/1] Annoying fixes. --- src/catalogue/templates/catalogue/book_text.html | 1 - src/catalogue/templates/catalogue/picture_detail.html | 5 +++++ src/catalogue/templates/catalogue/viewer_base.html | 1 + src/wolnelektury/settings/static.py | 7 ++++++- src/wolnelektury/static/css/annoy.css | 4 ++-- src/wolnelektury/templates/annoy.html | 2 +- 6 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/catalogue/templates/catalogue/book_text.html b/src/catalogue/templates/catalogue/book_text.html index 2a54af704..42eb1fa5a 100644 --- a/src/catalogue/templates/catalogue/book_text.html +++ b/src/catalogue/templates/catalogue/book_text.html @@ -59,7 +59,6 @@ {% block big-pane %} - {% include "annoy.html" %}
diff --git a/src/catalogue/templates/catalogue/picture_detail.html b/src/catalogue/templates/catalogue/picture_detail.html index fb864f693..9cb0b1973 100644 --- a/src/catalogue/templates/catalogue/picture_detail.html +++ b/src/catalogue/templates/catalogue/picture_detail.html @@ -83,3 +83,8 @@
{% endblock %} + + +{% block extrabody %} + {% javascript "picture" %} +{% endblock %} diff --git a/src/catalogue/templates/catalogue/viewer_base.html b/src/catalogue/templates/catalogue/viewer_base.html index 6e86b5f63..cdee8d832 100644 --- a/src/catalogue/templates/catalogue/viewer_base.html +++ b/src/catalogue/templates/catalogue/viewer_base.html @@ -13,6 +13,7 @@ {% block extrahead %}{% endblock %} + {% include "annoy.html" %}