disable search
[wolnelektury.git] / src / wolnelektury / templates / base / superbase.html
index f30dfb3..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="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>
       {% stylesheet "main" %}
       {% block extrahead %}{% endblock %}
     </head>
 
       {% block bodycontent %}
 
 
       {% 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">
 
         <div id="whole-header">
           <div id="header-wrapper">
                 </ul>
               </nav>
               <form id="search-area" action="{% url 'search' %}">
                 </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>
                 <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>
               </form>
             </header>
           </div>