X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5bbc488088e1d46bd14ebf9a96852f8ee8b231a2..0f84fb864cfe3f6c642706f40933ede6a74fe0c4:/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 c82611b4..2a8fd3bd 100644
--- a/redakcja/templates/registration/head_login.html
+++ b/redakcja/templates/registration/head_login.html
@@ -4,12 +4,12 @@
{{ user.username }} |
{% if user.is_staff %}
- {% trans "Admin" %} |
+ {% trans "Admin" %} |
{% endif %}
-{% trans "Log Out" %}
+{% trans "Log Out" %}
{% else %}
-{% url login as login_url %}
+{% url "login" as login_url %}
{% ifnotequal login_url request.path %}
{% trans "Log In" %}
{% endifnotequal %}