Introduce banner text

This commit is contained in:
Raphael Michel
2020-04-02 18:35:28 +02:00
parent b121596e4b
commit 25dd8f2e2f
5 changed files with 23 additions and 0 deletions

View File

@@ -1469,6 +1469,19 @@ Your {event} team"""))
widget=I18nTextarea
)
},
'banner_text': {
'default': '',
'type': LazyI18nString,
'serializer_class': I18nField,
'form_class': I18nFormField,
'form_kwargs': dict(
label=_("Banner text"),
widget=I18nTextarea,
widget_kwargs={'attrs': {'rows': '2'}},
help_text=_("This text will be shown above and below every page of your shop. Please only use this for "
"very important messages.")
)
},
'voucher_explanation_text': {
'default': '',
'type': LazyI18nString,