X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3c6f3da036cb8376cef931b3d4d5e354aff473d9..5bbc488088e1d46bd14ebf9a96852f8ee8b231a2:/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 64bd3e7e..c82611b4 100644 --- a/redakcja/templates/registration/head_login.html +++ b/redakcja/templates/registration/head_login.html @@ -2,6 +2,11 @@ {% if user.is_authenticated %} {{ user.username }} | + +{% if user.is_staff %} + {% trans "Admin" %} | +{% endif %} + {% trans "Log Out" %} {% else %} {% url login as login_url %}