Add event_info_text parameters

This commit is contained in:
Raphael Michel
2021-03-05 17:56:29 +01:00
parent 405b3a22e1
commit f1a98b5c30
5 changed files with 20 additions and 0 deletions

View File

@@ -2000,6 +2000,18 @@ Your {event} team"""))
widget=I18nTextarea
)
},
'event_info_text': {
'default': '',
'type': LazyI18nString,
'serializer_class': I18nField,
'form_class': I18nFormField,
'form_kwargs': dict(
label=_('Info text'),
widget=I18nTextarea,
widget_kwargs={'attrs': {'rows': '2'}},
help_text=_('Not displayed anywhere by default, but if you want to, you can use this e.g. in ticket templates.')
)
},
'banner_text': {
'default': '',
'type': LazyI18nString,