mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Add option to attach calendar files to emails (#1457)
This commit is contained in:
@@ -976,6 +976,11 @@ class MailSettingsForm(SettingsForm):
|
||||
required=False,
|
||||
max_length=255
|
||||
)
|
||||
mail_attach_ical = forms.BooleanField(
|
||||
label=_("Attach calendar files"),
|
||||
help_text=_("If enabled, we will attach an .ics calendar file to order confirmation emails."),
|
||||
required=False
|
||||
)
|
||||
|
||||
mail_text_signature = I18nFormField(
|
||||
label=_("Signature"),
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
{% bootstrap_field form.mail_from_name layout="control" %}
|
||||
{% bootstrap_field form.mail_text_signature layout="control" %}
|
||||
{% bootstrap_field form.mail_bcc layout="control" %}
|
||||
{% bootstrap_field form.mail_attach_ical layout="control" %}
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>{% trans "E-mail design" %}</legend>
|
||||
|
||||
Reference in New Issue
Block a user