-
+ {% cache 60 catalogue-menu LANGUAGE_CODE %}
+ {% catalogue_menu %}
+ {% endcache %}
X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/73ce961f14509aabfa26536f847afd28111029c6..fc46d508443bdc4ad72d047d29a5d453e6799f9d:/wolnelektury/templates/base.html?ds=sidebyside diff --git a/wolnelektury/templates/base.html b/wolnelektury/templates/base.html index 23cb46b56..4c2c57584 100644 --- a/wolnelektury/templates/base.html +++ b/wolnelektury/templates/base.html @@ -1,11 +1,9 @@ - - - {% load i18n compressed catalogue_tags sponsor_tags %} - {% load reporting_stats %} + + + {% load cache compressed i18n %} + {% load catalogue_tags reporting_stats sponsor_tags %}
-
{% if user.is_authenticated %}
{% trans "Welcome" %}, {{ user.username }}
- | {% trans "Your shelves" %}
+ | {% trans "My shelf" %}
{% if user.is_staff %}
| {% trans "Administration" %}
{% endif %}
- | {% trans "Logout" %}
+ | {% trans "Logout" %}
{% else %}
@@ -74,12 +74,12 @@
@@ -94,16 +94,9 @@