mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Allow signal receivers of footer_link to add multiple links
This commit is contained in:
@@ -41,7 +41,10 @@ def contextprocessor(request):
|
||||
for receiver, response in html_head.send(request.event, request=request):
|
||||
_html_head.append(response)
|
||||
for receiver, response in footer_link.send(request.event, request=request):
|
||||
_footer.append(response)
|
||||
if isinstance(response, list):
|
||||
_footer += response
|
||||
else:
|
||||
_footer.append(response)
|
||||
|
||||
if request.event.settings.presale_css_file:
|
||||
ctx['css_file'] = default_storage.url(request.event.settings.presale_css_file)
|
||||
|
||||
Reference in New Issue
Block a user