Added configurable text for organizer page (#494)

This commit is contained in:
scabux
2017-05-17 15:53:30 +02:00
committed by Raphael Michel
parent 396c558b25
commit b5a2123d1c
5 changed files with 26 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ def contextprocessor(request):
if hasattr(request, 'organizer'):
ctx['organizer_logo'] = request.organizer.settings.get('organizer_logo_image', as_type=str, default='')[7:]
ctx['organizer_homepage_text'] = request.organizer.settings.get('organizer_homepage_text', as_type=LazyI18nString)
ctx['organizer'] = request.organizer
ctx['html_head'] = "".join(_html_head)