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