From 68edf47bcea467c7d9758ee58ae6a873d45babd3 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 3 Nov 2016 11:17:29 +0100 Subject: [PATCH 1/1] remove annoy banner --- src/wolnelektury/templates/base/superbase.html | 6 +++++- src/wolnelektury/templates/main_page.html | 8 -------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/wolnelektury/templates/base/superbase.html b/src/wolnelektury/templates/base/superbase.html index a8b9cf4ce..e68c97d71 100644 --- a/src/wolnelektury/templates/base/superbase.html +++ b/src/wolnelektury/templates/base/superbase.html @@ -34,7 +34,11 @@ {% block bodycontent %} {% block annoy %} - {% include "annoy.html" %} + {% if not funding_no_show_current %} + {% cache 120 funding_top_bar LANGUAGE_CODE %} + {% funding_top_bar %} + {% endcache %} + {% endif %} {% endblock %}
diff --git a/src/wolnelektury/templates/main_page.html b/src/wolnelektury/templates/main_page.html index 0b6545fdd..7912c2421 100755 --- a/src/wolnelektury/templates/main_page.html +++ b/src/wolnelektury/templates/main_page.html @@ -10,14 +10,6 @@ {% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %} {% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %} -{% block annoy %} - {% if not funding_no_show_current %} - {% cache 120 funding_top_bar LANGUAGE_CODE %} - {% funding_top_bar %} - {% endcache %} - {% endif %} -{% endblock %} - {% block body %} {% spaceless %} {% if cite %} -- 2.20.1