X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/73ef2b8442dc95f8b7279de812c30ac8626d5f39..896fad710142a7c82b849ffe9f0d492d6a99c5ca:/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 %}