X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c38cfacc4f2cdb7a9e702d0b7b46978089413677..fdb67a9ef3b41c31d4ae4122d49537860e483ec6:/apps/wolnelektury_core/templates/superbase.html diff --git a/apps/wolnelektury_core/templates/superbase.html b/apps/wolnelektury_core/templates/superbase.html index f596c43a0..9ee206f57 100644 --- a/apps/wolnelektury_core/templates/superbase.html +++ b/apps/wolnelektury_core/templates/superbase.html @@ -1,9 +1,11 @@ - + {% load cache compressed i18n %} - {% load catalogue_tags reporting_stats sponsor_tags %} + {% load static from staticfiles %} + {% load catalogue_tags funding_tags reporting_stats sponsor_tags %}
+ @@ -16,148 +18,112 @@+ {% funding link=1 closeable=1 add_class="funding-top-header" %} +
{% 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 %} +
- - -