X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/59c600057d146153b272cc770cb0e00221540fda..e6fc1b86fcdb4f99c00d4218fcaa5eab6f64c4cb:/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 e97ede609..57dbb1ada 100644 --- a/apps/wolnelektury_core/templates/superbase.html +++ b/apps/wolnelektury_core/templates/superbase.html @@ -3,8 +3,10 @@ {% load cache compressed i18n %} {% load static from staticfiles %} {% load catalogue_tags funding_tags reporting_stats sponsor_tags %} + {% load chunks %}
+ @@ -17,17 +19,10 @@+
{% if user.is_authenticated %} {% trans "Welcome" %}, - - - {{ user.username }} - - - + + + {{ user.username }} + + + | {% trans "My shelf" %} {% if user.is_staff %} | {% trans "Administration" %} @@ -90,45 +66,38 @@ {% 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 %} +
- - -