X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c44816fb6561b51cb9fcbdf1bf272ffad8571dca..dd85755df4e3ef8489a6fb2f71a65abf84b06739:/src/wolnelektury/templates/base/superbase.html diff --git a/src/wolnelektury/templates/base/superbase.html b/src/wolnelektury/templates/base/superbase.html index a8b9cf4ce..12a6565ea 100644 --- a/src/wolnelektury/templates/base/superbase.html +++ b/src/wolnelektury/templates/base/superbase.html @@ -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> @@ -35,6 +36,11 @@ {% 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 }}" @@ -120,7 +126,7 @@ </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 }}