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