X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e57294eb8426697ef5088161b4d8843aceb586de..23783edfd0a5d4d8e2dabd7a5f2d51643de099a6:/apps/wolnelektury_core/templates/superbase.html diff --git a/apps/wolnelektury_core/templates/superbase.html b/apps/wolnelektury_core/templates/superbase.html index 3eaf96216..cd8479741 100644 --- a/apps/wolnelektury_core/templates/superbase.html +++ b/apps/wolnelektury_core/templates/superbase.html @@ -2,9 +2,10 @@ {% 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,13 +18,10 @@+
{% if user.is_authenticated %} {% trans "Welcome" %}, - - - {{ user.username }} - - - + + + {{ user.username }} + + + | {% trans "My shelf" %} {% if user.is_staff %} | {% trans "Administration" %} @@ -90,44 +68,35 @@ {% 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 %} +
- - -