From: Jan Szejko Date: Thu, 3 Nov 2016 10:17:29 +0000 (+0100) Subject: remove annoy banner X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/68edf47bcea467c7d9758ee58ae6a873d45babd3?ds=inline;hp=45cd3b5d049c214e83c74470fe1877513d4b2ca5 remove annoy banner --- 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 %}