X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d157af1061e9f03f59ea909d7d25f4a0b41f1c0e..640e6f5c1e85d05d728cd29a129df9ea8aa8f31f:/apps/wolnelektury_core/templates/superbase.html?ds=inline 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 %}