X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d157af1061e9f03f59ea909d7d25f4a0b41f1c0e..948866cb20453892f057d497b3abf6d4b0677d8e:/apps/wolnelektury_core/templates/superbase.html diff --git a/apps/wolnelektury_core/templates/superbase.html b/apps/wolnelektury_core/templates/superbase.html index b0067acc7..182d2b096 100644 --- a/apps/wolnelektury_core/templates/superbase.html +++ b/apps/wolnelektury_core/templates/superbase.html @@ -1,5 +1,5 @@ - + {% load cache compressed i18n %} {% load static from staticfiles %} {% load catalogue_tags reporting_stats sponsor_tags %} @@ -32,6 +32,7 @@ {% endblock %} + {% include "annoy.html" %} {% block bodycontent %} @@ -42,14 +43,15 @@
{% cache 60 tagline LANGUAGE_CODE %} - {% url book_list as b %} - {% url infopage 'prawa' as r %} + {% url 'book_list' as b %} + {% url 'infopage' 'prawa' as r %} {% count_books book_count %} {% blocktrans count book_count as c %} {{c}} free reading you have right to @@ -64,26 +66,26 @@ {% if user.is_authenticated %} {% trans "Welcome" %}, - + {{ user.username }} - {% trans "Password" %}
- {% trans "E-mail" %}
- {% trans "Social accounts" %}
+ {% trans "Password" %}
+ {% trans "E-mail" %}
+ {% trans "Social accounts" %}
- | {% trans "My shelf" %} + | {% trans "My shelf" %} {% if user.is_staff %} | {% trans "Administration" %} {% endif %} - | {% trans "Logout" %} + | {% trans "Logout" %} {% else %} - {% trans "Sign in" %} / - {% trans "Register" %} {% endif %} @@ -100,7 +102,7 @@ -
+
@@ -131,10 +133,11 @@ {% trans "Language versions" %}
{% for lang in LANGUAGES %} - + {% csrf_token %} @@ -203,14 +206,6 @@ {% compressed_js "base" %} {{ piwik_tag|safe }} - - {% block extrabody %} {% endblock %}