X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/e2ee27b5f3c92f9930204427249513378ce1bb77..02a98d2af6f1fabf567b575c5f2d818688af1594:/platforma/templates/registration/head_login.html diff --git a/platforma/templates/registration/head_login.html b/platforma/templates/registration/head_login.html index 560ae728..ee20ef29 100644 --- a/platforma/templates/registration/head_login.html +++ b/platforma/templates/registration/head_login.html @@ -2,10 +2,10 @@ {% if user.is_authenticated %} <span class="user_name">{{ user.username }}</span> | -<a href='{% url logout %}?next={{request.get_full_path}}'>{% trans "Log Out" %}</a> +<a href='{% url logout %}'>{% trans "Log Out" %}</a> {% else %} {% url login as login_url %} {% ifnotequal login_url request.path %} - <a href='{{ login_url }}?next={{request.get_full_path}}'>{% trans "Log In" %}</a> + <a href='{{ login_url }}'>{% trans "Log In" %}</a> {% endifnotequal %} {% endif %}