disable search
[wolnelektury.git] / src / wolnelektury / templates / base / superbase.html
index f57a947..85af1f2 100644 (file)
@@ -26,6 +26,7 @@
       <link rel="icon" href="{% static 'img/favicon.png' %}" type="image/png"/>
       <link rel="search" type="application/opensearchdescription+xml" title="Wolne Lektury"
             href="{% static 'opensearch.xml' %}"/>
+      <link rel="manifest" href="/manifest.json">
       {% stylesheet "main" %}
       {% block extrahead %}{% endblock %}
     </head>
 
       {% block bodycontent %}
 
-        {% if not funding_no_show_current %}
-          {% cache 120 funding_top_bar LANGUAGE_CODE %}
-            {% funding_top_bar %}
-          {% endcache %}
-        {% endif %}
+        {% block annoy %}
+          {% if not funding_no_show_current %}
+            {% cache 120 funding_top_bar LANGUAGE_CODE %}
+              {% funding_top_bar %}
+            {% endcache %}
+          {% endif %}
+        {% endblock %}
 
         <div id="whole-header">
           <div id="header-wrapper">
                 </ul>
               </nav>
               <form id="search-area" action="{% url 'search' %}">
+                {% comment %}
                 <div id="search-field">
                   <label for="search">{{ search_form.q.label }}</label>
                   {{ search_form.q }}
                 </div>
                 <button type='submit'>{% trans "Search" %}</button>
+                {% endcomment %}
+                Wyszukiwanie jest tymczasowo wyłączone. Search is temporarily disabled.
               </form>
             </header>
           </div>
         </div>
 
         <div id="main-content">
-          {% comment %}
           <div id="banners">
             <a href="https://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/">
               <img src="{% static 'img/banners/960x150_wolneLektury.jpg' %}"
                    alt="Wesprzyj działalność Nowoczesnej Polski"/>
             </a>
           </div>
-          {% endcomment %}
           {% block body %}
           {% endblock %}
           <div class="clearboth"></div>