add contrib locale to make-locale-pack, various bugfixes
[wolnelektury.git] / wolnelektury / templates / superbase.html
index 5813a2b..cd66590 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
 <!DOCTYPE html>
-<html class="no-js" xmlns:og="http://opengraphprotocol.org/schema/">
+<html prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">
        {% load cache compressed i18n %}
     {% load catalogue_tags reporting_stats sponsor_tags %}
     <head>
        {% load cache compressed i18n %}
     {% load catalogue_tags reporting_stats sponsor_tags %}
     <head>
@@ -8,7 +8,7 @@
         <meta property="og:site_name" content="Wolne Lektury" />
         <meta property="og:title" content="{% block ogtitle %}{% endblock %}" />
         <meta property="og:type" content="{% block ogtype %}website{% endblock %}" />
         <meta property="og:site_name" content="Wolne Lektury" />
         <meta property="og:title" content="{% block ogtitle %}{% endblock %}" />
         <meta property="og:type" content="{% block ogtype %}website{% endblock %}" />
-        <meta property="og:image" content="{% block ogimage %}http://static.wolnelektury.pl/img/logo-bez.png{% endblock %}" />
+        <meta property="og:image" content="{% block ogimage %}{{ FULL_STATIC_URL }}img/wiatrak.png{% endblock %}" />
         <meta name="description" 
             content="{% block metadescription %}Darmowe opracowane, pełne teksty lektur, e-booki, audiobooki i pliki DAISY na wolnej licencji.{% endblock %}" />
         {% block ogextra %}{% endblock %}
         <meta name="description" 
             content="{% block metadescription %}Darmowe opracowane, pełne teksty lektur, e-booki, audiobooki i pliki DAISY na wolnej licencji.{% endblock %}" />
         {% block ogextra %}{% endblock %}
@@ -23,8 +23,6 @@
         <!--[if IE]>
                {% compressed_css "ie" %}
         <![endif]-->
         <!--[if IE]>
                {% compressed_css "ie" %}
         <![endif]-->
-        <!--script src="{{ STATIC_URL }}js/modernizr.custom.13352.js"></script-->
-        <script src="{{ STATIC_URL }}js/modernizr-latest.js"></script>
 
         {% block extrahead %}
         {% endblock %}
 
         {% block extrahead %}
         {% endblock %}
 
             <p id="user-info" class="mono">
                 {% if user.is_authenticated %}
 
             <p id="user-info" class="mono">
                 {% if user.is_authenticated %}
-                    {% trans "Welcome" %}, <strong>{{ user.username }}</strong>
+                    {% trans "Welcome" %}, 
+                       <span class="hidden-box-wrapper">
+                               <a href="{% url user_settings %}" class="hidden-box-trigger">
+                                       <strong>{{ user.username }}</strong>
+                               </a>
+                               <span id="user-menu" class="hidden-box">
+                                       <a href="{% url account_set_password %}">{% trans "Password" %}</a><br/>
+                                       <a href="{% url account_email %}">{% trans "E-mail" %}</a><br/>
+                                       <a href="{% url socialaccount_connections %}">{% trans "Social accounts" %}</a><br/>
+                               </span>
+                       </span>
                     | <a href="{% url social_my_shelf %}" id="user-shelves-link">{% trans "My shelf" %}</a>
                     {% if user.is_staff %}
                     | <a href="/admin/">{% trans "Administration" %}</a>
                     | <a href="{% url social_my_shelf %}" id="user-shelves-link">{% trans "My shelf" %}</a>
                     {% if user.is_staff %}
                     | <a href="/admin/">{% trans "Administration" %}</a>
         var pageTracker = _gat._getTracker("UA-2576694-1");
         pageTracker._trackPageview();
         </script>-->
         var pageTracker = _gat._getTracker("UA-2576694-1");
         pageTracker._trackPageview();
         </script>-->
+
+               {% block extrabody %}
+               {% endblock %}
+
+        <script src="{{ STATIC_URL }}js/modernizr.custom.19652.js"></script>
+        <!--script src="{{ STATIC_URL }}js/modernizr-latest.js"></script-->
     </body>
 </html>
     </body>
 </html>