X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6280673f35e13e75e81c5b7821bd2a44a1831eab..357027375ff8867f42ca34bcbfb5a78b5b185fc3:/src/wolnelektury/templates/superbase.html?ds=inline diff --git a/src/wolnelektury/templates/superbase.html b/src/wolnelektury/templates/superbase.html new file mode 100644 index 000000000..08d60a32a --- /dev/null +++ b/src/wolnelektury/templates/superbase.html @@ -0,0 +1,153 @@ + +{% spaceless %} + + {% load pipeline i18n %} + {% load static from staticfiles %} + {% load catalogue_tags funding_tags reporting_stats %} + {% load piwik_tags %} + {% load ssi_include ssi_csrf_token from ssify %} + {% load user_username user_is_staff from common_tags %} +
+ + + + + + + + + {% block ogextra %}{% endblock %} + ++ {% user_username as user_username %} + {% user_is_staff as user_is_staff %} + {{ user_username.if }}{% trans "Welcome" %}, + + {{ user_username }} + + + | {% trans "My shelf" %} + {{ user_username.endif }} + {{ user_is_staff.if }} | {% trans "Administration" %} + {{ user_is_staff.endif }} + {{ user_username.if }} | {% trans "Logout" %} + {{ user_username.else }} + {% trans "Sign in" %} / {% trans "Register" %} + {{ user_username.endif }} +
+ ++ {% 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 %} +
+ + + +{% trans "Loading" %}
+