X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/560fda9dbc19a0019af8449b3d3393305fffa743..7fdf8249c9c016e397edc3112184e74b0f3f9778:/apps/wolnelektury_core/templates/superbase.html?ds=sidebyside diff --git a/apps/wolnelektury_core/templates/superbase.html b/apps/wolnelektury_core/templates/superbase.html index 64ef21636..46afe2875 100644 --- a/apps/wolnelektury_core/templates/superbase.html +++ b/apps/wolnelektury_core/templates/superbase.html @@ -2,193 +2,141 @@ {% load cache compressed i18n %} {% load static from staticfiles %} - {% load catalogue_tags reporting_stats sponsor_tags %} + {% load catalogue_tags funding_tags reporting_stats sponsor_tags %} + {% load chunks %} + {% load piwik_tags %}
+ + content="{% block metadescription %}Darmowe, opracowane, peÅne teksty lektur, e-booki, audiobooki i pliki DAISY na wolnej licencji.{% endblock %}" /> {% block ogextra %}{% endblock %}+ {% 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 %} +
- - -