X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5bbc488088e1d46bd14ebf9a96852f8ee8b231a2..f7135da39f77154495d308d05c46e7b30e964d2d:/redakcja/templates/registration/head_login.html
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 %}