Fix #293 -- Add ticket downloading reminder (#567)

Closes https://github.com/pretix/pretix/issues/293
This commit is contained in:
Sanket Dasgupta
2017-08-07 19:45:27 +05:30
committed by Raphael Michel
parent 0990c9cc3d
commit cb2826f171
6 changed files with 90 additions and 0 deletions

View File

@@ -631,6 +631,13 @@ class MailSettingsForm(SettingsForm):
validators=[PlaceholderValidator(['{expire_date}', '{event}', '{code}', '{date}', '{url}',
'{invoice_name}', '{invoice_company}'])]
)
mail_text_download_reminder = I18nFormField(
label=_("Text"),
required=False,
widget=I18nTextarea,
help_text=_("Available placeholders: {event}, {url}"),
validators=[PlaceholderValidator(['{event}', '{url}'])]
)
smtp_use_custom = forms.BooleanField(
label=_("Use custom SMTP server"),
help_text=_("All mail related to your event will be sent over the smtp server specified by you."),