forked from CGM_Public/pretix_original
rename to download_reminder
This commit is contained in:
@@ -751,7 +751,7 @@ def multimail_validate(val):
|
||||
|
||||
def contains_web_channel_validate(val):
|
||||
if "web" not in val:
|
||||
raise ValidationError(_("The web channel must be selected to receive these emails."))
|
||||
raise ValidationError(_("The online shop must be selected to receive these emails."))
|
||||
|
||||
|
||||
class MailSettingsForm(SettingsForm):
|
||||
@@ -773,7 +773,7 @@ class MailSettingsForm(SettingsForm):
|
||||
validators=[contains_web_channel_validate],
|
||||
)
|
||||
|
||||
mail_sales_channel_ticket_reminder = forms.MultipleChoiceField(
|
||||
mail_sales_channel_download_reminder = forms.MultipleChoiceField(
|
||||
choices=lambda: [(ident, sc.verbose_name) for ident, sc in get_all_sales_channels().items()],
|
||||
label=_('Sales Channels'),
|
||||
help_text=_('This email will only be send to orders from these sales channels. The online shop must be enabled.'),
|
||||
|
||||
Reference in New Issue
Block a user