Commit 88f1de42 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Merge branch '978-missing-user-tools-in-event-admin' into 'master'

Resolve "Event admin view does not include 'user-tools' like other admin templates"

Closes #978

See merge request !1483
parents adfcfcff 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment