X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/020ad779bc86249cd11cb8aa4970420b16789f55..f1aa11d3c90925a0ecc4f7db2df571aabf99fc3e:/platforma/templates/registration/head_login.html diff --git a/platforma/templates/registration/head_login.html b/platforma/templates/registration/head_login.html index 19c9c123..ca2c4e1f 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" noop %}</a> +<a href='{% url logout %}?next={{request.get_full_path|urlencode}}'>{% 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" noop %}</a> + <a href='{{ login_url }}?next={{request.get_full_path|urlencode}}'>{% trans "Log In" %}</a> {% endifnotequal %} {% endif %}