Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
551fb87c
Commit
551fb87c
authored
Nov 30, 2016
by
Sébastiaan Versteeg
Browse files
Merge branch 'fix/logout_path_login_bug' into 'master'
Fix
#191
Closes
#191
See merge request
!193
parents
2f4799ec
a7113d9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/thaliawebsite/templates/base.html
View file @
551fb87c
...
...
@@ -72,7 +72,7 @@
{% if not user.is_authenticated %}
<div
class=
"btn-group open"
id=
"account-menu"
>
<a
class=
"btn btn-default"
href=
"{% url 'login' %}?next={{ request.path }}"
><i
class=
"fa fa-user"
></i>
{% trans "Login" %}
</a>
<a
class=
"btn btn-default"
href=
"{% url 'login'
%}{% if request.path != '/logout/'
%}?next={{ request.path }}
{% endif %}
"
><i
class=
"fa fa-user"
></i>
{% trans "Login" %}
</a>
</div>
{% else %}
<div
class=
"btn-group"
id=
"account-menu"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment