X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f73ecfb6b870b18ed88303ff71a06da55001274b..abc338b9ab6cf47a0b70f8a3f2343bb7b2a5537b:/redakcja/templates/registration/head_login.html?ds=inline diff --git a/redakcja/templates/registration/head_login.html b/redakcja/templates/registration/head_login.html index 64bd3e7e..2a8fd3bd 100644 --- a/redakcja/templates/registration/head_login.html +++ b/redakcja/templates/registration/head_login.html @@ -2,9 +2,14 @@ {% 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 %} +{% url "login" as login_url %} {% ifnotequal login_url request.path %} {% trans "Log In" %} {% endifnotequal %}