X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/53c686bd32e1ecd66719df1a4facf5a170d9ae30..2bdee8a54239c9020e2539c8ad0f1d34f7c5c7dc:/apps/wolnelektury_core/templates/superbase.html diff --git a/apps/wolnelektury_core/templates/superbase.html b/apps/wolnelektury_core/templates/superbase.html index b0067acc7..a5c9c25ba 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 %}