X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/24b135ddf6bcd87ec53d1a98f653d2abcdd22fa5..9f4f697f0c6fe9a9d55bb45aaa93c804992f3339:/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 423befbdb..65b9e0a82 100644 --- a/apps/wolnelektury_core/templates/superbase.html +++ b/apps/wolnelektury_core/templates/superbase.html @@ -1,10 +1,11 @@ - + {% load cache compressed i18n %} {% load static from staticfiles %} - {% load catalogue_tags reporting_stats sponsor_tags %} + {% load catalogue_tags funding_tags reporting_stats sponsor_tags %}
+ @@ -17,151 +18,111 @@+
{% if user.is_authenticated %} {% trans "Welcome" %}, - - - {{ user.username }} - - - - | {% trans "My shelf" %} + + + {{ user.username }} + + + + | {% trans "My shelf" %} {% if user.is_staff %} | {% trans "Administration" %} {% endif %} - | {% trans "Logout" %} + | {% trans "Logout" %} {% else %} - {% trans "Sign in" %} / - {% trans "Register" %} {% endif %}
++ {% cache 60 tagline LANGUAGE_CODE %} + {% 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 + {% plural %} + {{c}} free readings you have right to + {% endblocktrans %} + {% endcache %} +
- - -