X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/73ef2b8442dc95f8b7279de812c30ac8626d5f39..92407309a3a6c4cd125086728910effddd92ab20:/redakcja/templates/registration/head_login.html?ds=inline 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 @@ <span class="user_name">{{ user.username }}</span> | {% if user.is_staff %} - <a href="{% url admin:index %}">{% trans "Admin" %}</a> | + <a href="{% url 'admin:index' %}">{% trans "Admin" %}</a> | {% endif %} -<a href='{% url logout %}{% if logout_to %}?next={{ logout_to }}{% endif %}'>{% trans "Log Out" %}</a> +<a href='{% url "logout" %}{% if logout_to %}?next={{ logout_to }}{% endif %}'>{% trans "Log Out" %}</a> {% else %} -{% url login as login_url %} +{% url "login" as login_url %} {% ifnotequal login_url request.path %} <a href='{{ login_url }}'>{% trans "Log In" %}</a> {% endifnotequal %}