remove annoy banner
authorJan Szejko <janek37@gmail.com>
Thu, 3 Nov 2016 10:17:29 +0000 (11:17 +0100)
committerJan Szejko <janek37@gmail.com>
Thu, 3 Nov 2016 10:17:29 +0000 (11:17 +0100)
src/wolnelektury/templates/base/superbase.html
src/wolnelektury/templates/main_page.html

index a8b9cf4..e68c97d 100644 (file)
       {% 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 %}
 
         <div id="whole-header">
index 0b6545f..7912c24 100755 (executable)
 {% 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 %}