X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f73ecfb6b870b18ed88303ff71a06da55001274b..14bd9f367ed01cb56bdf82356f7ab55bfffb17d4:/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 %}