X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5bbc488088e1d46bd14ebf9a96852f8ee8b231a2..0c502601ba7d9e9ee0a4d6a543c534edfad9c22e:/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 %}