Basically usable funding workflow.
[wolnelektury.git] / apps / wolnelektury_core / templates / superbase.html
index 79542ec..a54cb4b 100644 (file)
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
-<html prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">
+<html lang="{{ LANGUAGE_CODE }}" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">
        {% load cache compressed i18n %}
        {% load static from staticfiles %}
-    {% load catalogue_tags reporting_stats sponsor_tags %}
+    {% load catalogue_tags funding_tags reporting_stats sponsor_tags %}
     <head>
         <meta charset="utf-8">
         <meta name="application-name" content="Wolne Lektury" />
@@ -32,6 +32,7 @@
         {% endblock %}
     </head>
     <body id="{% block bodyid %}base{% endblock %}">
+        {% include "annoy.html" %}
 
         {% block bodycontent %}
 
@@ -42,7 +43,8 @@
         <div id="header-content">
             <div id="logo">
                 <a class="logo" href="/">
-                <img id="logo-image" src="{% static "img/logo-neon.png" %}" /></a>
+                <img id="logo-image" src="{% static "img/logo-neon.png" %}"
+                    alt="Wolne Lektury" /></a>
             </div>
 
             <div id="tagline">
         </div>
 
 
-
         <div id="main-content">
-
+            {% funding link=1 %}
             <div id="nav-line">
-               {% cache 60 catalogue-menu LANGUAGE_CODE %}
-                       {% catalogue_menu %}
-               {% endcache %}
+                {% catalogue_menu %}
 
             <div id="lang-menu" class="hoverget">
                 <span id='lang-button' class='mono hoverclick'>
                     {% csrf_token %}
                     <input type="hidden" name="language" value="{{ lang.0 }}" />
                     <button type="submit"
+                        lang="{{ lang.0 }}"
                         class="{% ifequal lang.0 LANGUAGE_CODE %}active{% endifequal %} mono"
                         >{{ lang.1 }}</button>
                    </form>