Skip to content
GitLab
Menu
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
06b0987d
Commit
06b0987d
authored
Feb 19, 2020
by
Simcha van Collem
Committed by
Sébastiaan Versteeg
Feb 19, 2020
Browse files
Resolve "Event admin view does not include 'user-tools' like other admin templates"
parent
adfcfcff
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/events/admin_views.py
View file @
06b0987d
...
...
@@ -39,9 +39,7 @@ class EventAdminDetails(DetailView, PermissionRequiredMixin):
def
get_context_data
(
self
,
**
kwargs
):
context
=
super
().
get_context_data
(
**
kwargs
)
context
.
update
(
{
"payment"
:
Payment
,}
)
context
.
update
({
"payment"
:
Payment
,
"has_permission"
:
True
,
"site_url"
:
True
})
return
context
...
...
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