Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
thalia
concrexit
Commits
551fb87c
Commit
551fb87c
authored
Nov 30, 2016
by
Sébastiaan Versteeg
Browse files
Options
Browse Files
Download
Plain Diff
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
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
website/thaliawebsite/templates/base.html
website/thaliawebsite/templates/base.html
+1
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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