X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/114d9964082b2ca6c0e18214d761021dbca362de..a1edf3f1a7cff6e6f4d85a4288ca9b1d5cd3b254:/apps/wolnelektury_core/templates/superbase.html diff --git a/apps/wolnelektury_core/templates/superbase.html b/apps/wolnelektury_core/templates/superbase.html index 0d1ffa6a7..9ee206f57 100644 --- a/apps/wolnelektury_core/templates/superbase.html +++ b/apps/wolnelektury_core/templates/superbase.html @@ -5,6 +5,7 @@ {% load catalogue_tags funding_tags reporting_stats sponsor_tags %}
+ @@ -17,64 +18,37 @@+
{% if user.is_authenticated %} {% trans "Welcome" %}, - - - {{ user.username }} - - - + + + {{ user.username }} + + + | {% trans "My shelf" %} {% if user.is_staff %} | {% trans "Administration" %} @@ -91,45 +65,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 %} +
- - -