Email: Fix color for organizer-level emails

This commit is contained in:
Raphael Michel
2023-11-02 11:29:27 +01:00
parent 987b02d733
commit d8ca865fc6

View File

@@ -149,6 +149,7 @@ class TemplateBasedMailRenderer(BaseHTMLMailRenderer):
}
if self.organizer:
htmlctx['organizer'] = self.organizer
htmlctx['color'] = self.organizer.settings.primary_color
if self.event:
htmlctx['event'] = self.event