X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f938afb8ab4cb091d12e0ef0311eaea14b774798..32d8126a6f487c94f0b63365b50a8ed81bd16f8e:/redakcja/templates/registration/head_login.html?ds=sidebyside
diff --git a/redakcja/templates/registration/head_login.html b/redakcja/templates/registration/head_login.html
index f051213a..c82611b4 100644
--- a/redakcja/templates/registration/head_login.html
+++ b/redakcja/templates/registration/head_login.html
@@ -2,7 +2,12 @@
{% if user.is_authenticated %}
{{ user.username }} |
-{% trans "Log Out" %}
+
+{% if user.is_staff %}
+ {% trans "Admin" %} |
+{% endif %}
+
+{% trans "Log Out" %}
{% else %}
{% url login as login_url %}
{% ifnotequal login_url request.path %}