Basic crowdfunding.
[wolnelektury.git] / apps / wolnelektury_core / templates / superbase.html
index 423befb..a54cb4b 100644 (file)
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
 <!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 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" />
     <head>
         <meta charset="utf-8">
         <meta name="application-name" content="Wolne Lektury" />
@@ -32,6 +32,7 @@
         {% endblock %}
     </head>
     <body id="{% block bodyid %}base{% endblock %}">
         {% endblock %}
     </head>
     <body id="{% block bodyid %}base{% endblock %}">
+        {% include "annoy.html" %}
 
         {% block bodycontent %}
 
 
         {% block bodycontent %}
 
@@ -42,7 +43,8 @@
         <div id="header-content">
             <div id="logo">
                 <a class="logo" href="/">
         <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="tagline">
         </div>
 
 
         </div>
 
 
-
         <div id="main-content">
         <div id="main-content">
-
+            {% funding link=1 %}
             <div id="nav-line">
             <div id="nav-line">
-               {% cache 300 catalogue-menu LANGUAGE_CODE %}
-                       {% catalogue_menu %}
-               {% endcache %}
+                {% catalogue_menu %}
 
             <div id="lang-menu" class="hoverget">
                 <span id='lang-button' class='mono hoverclick'>
 
             <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"
                     {% 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>
                         class="{% ifequal lang.0 LANGUAGE_CODE %}active{% endifequal %} mono"
                         >{{ lang.1 }}</button>
                    </form>