Django 1.9.
[wolnelektury.git] / src / wolnelektury / templates / base / superbase.html
index a8b9cf4..12a6565 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 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">
@@ -62,7 +68,7 @@
                 </span>
                 <div id="lang-menu-items">
                   {% for lang in LANGUAGES %}
-                    <form action="{% url 'django.views.i18n.set_language' %}" method="post">
+                    <form action="{% url 'set_language' %}" method="post">
                       {% ssi_csrf_token %}
                       <input type="hidden" name="language" value="{{ lang.0 }}"/>
                       <button type="submit" lang="{{ lang.0 }}"
                   </li>
                 </ul>
               </nav>
-              <form id="search-area" action="{% url 'search' %}">
+              <form id="search-area" action="{% url 'wlsearch' %}">
                 <div id="search-field">
                   <label for="search">{{ search_form.q.label }}</label>
                   {{ search_form.q }}