forked from CGM_Public/pretix_original
Added a setting for an e-mail subject prefix
This commit is contained in:
@@ -151,6 +151,11 @@ class EventSettingsForm(SettingsForm):
|
||||
required=False,
|
||||
help_text=_("Public email address for contacting the organizer")
|
||||
)
|
||||
mail_prefix = forms.CharField(
|
||||
label=_("Subject prefix"),
|
||||
help_text=_("This will be prepended to the subject of all outgoing emails. This could be a short form of "
|
||||
"your event name.")
|
||||
)
|
||||
mail_from = forms.EmailField(
|
||||
label=_("Sender address"),
|
||||
help_text=_("Sender address for outgoing e-mails")
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>{% trans "E-Mail settings" %}</legend>
|
||||
{% bootstrap_field sform.mail_prefix layout="horizontal" %}
|
||||
{% bootstrap_field sform.mail_from layout="horizontal" %}
|
||||
</fieldset>
|
||||
<div class="form-group submit-group">
|
||||
|
||||
Reference in New Issue
Block a user