forked from CGM_Public/pretix_original
Use hard line breaks in all default email texts
This commit is contained in:
@@ -2019,7 +2019,7 @@ You can change your order details and view the status of your order at
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_resend_all_links': {
|
'mail_subject_resend_all_links': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2035,7 +2035,7 @@ The list is as follows:
|
|||||||
{orders}
|
{orders}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_order_free_attendee': {
|
'mail_subject_order_free_attendee': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2051,7 +2051,7 @@ You can view the details and status of your ticket here:
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_send_order_free_attendee': {
|
'mail_send_order_free_attendee': {
|
||||||
'type': bool,
|
'type': bool,
|
||||||
@@ -2072,7 +2072,7 @@ You can change your order details and view the status of your order at
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_order_placed_require_approval': {
|
'mail_subject_order_placed_require_approval': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2090,7 +2090,7 @@ You can change your order details and view the status of your order at
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_order_placed': {
|
'mail_subject_order_placed': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2109,7 +2109,7 @@ You can change your order details and view the status of your order at
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_attachment_new_order': {
|
'mail_attachment_new_order': {
|
||||||
'default': None,
|
'default': None,
|
||||||
@@ -2156,7 +2156,7 @@ You can view the details and status of your ticket here:
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_order_changed': {
|
'mail_subject_order_changed': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2172,7 +2172,7 @@ You can view the status of your order at
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_order_paid': {
|
'mail_subject_order_paid': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2190,7 +2190,7 @@ You can change your order details and view the status of your order at
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_send_order_paid_attendee': {
|
'mail_send_order_paid_attendee': {
|
||||||
'type': bool,
|
'type': bool,
|
||||||
@@ -2210,7 +2210,7 @@ You can view the details and status of your ticket here:
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_days_order_expire_warning': {
|
'mail_days_order_expire_warning': {
|
||||||
'form_class': forms.IntegerField,
|
'form_class': forms.IntegerField,
|
||||||
@@ -2243,7 +2243,7 @@ You can view the payment information and the status of your order at
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_order_pending_warning': {
|
'mail_subject_order_pending_warning': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2260,7 +2260,7 @@ You can view the payment information and the status of your order at
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_order_incomplete_payment': {
|
'mail_subject_order_incomplete_payment': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2280,7 +2280,7 @@ You can view the payment information and the status of your order at
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_waiting_list': {
|
'mail_subject_waiting_list': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2313,7 +2313,7 @@ as possible to the next person on the waiting list:
|
|||||||
{url_remove}
|
{url_remove}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_order_canceled': {
|
'mail_subject_order_canceled': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2331,7 +2331,7 @@ You can view the details of your order at
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_order_approved': {
|
'mail_subject_order_approved': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2351,7 +2351,7 @@ You can select a payment method and perform the payment here:
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_send_order_approved_attendee': {
|
'mail_send_order_approved_attendee': {
|
||||||
'type': bool,
|
'type': bool,
|
||||||
@@ -2371,7 +2371,7 @@ You can view the details and status of your ticket here:
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_order_approved_free': {
|
'mail_subject_order_approved_free': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2388,7 +2388,7 @@ You can change your order details and view the status of your order at
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_send_order_approved_free_attendee': {
|
'mail_send_order_approved_free_attendee': {
|
||||||
'type': bool,
|
'type': bool,
|
||||||
@@ -2408,7 +2408,7 @@ You can view the details and status of your ticket here:
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_order_denied': {
|
'mail_subject_order_denied': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2427,7 +2427,7 @@ You can view the details of your order here:
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_text_order_custom_mail': {
|
'mail_text_order_custom_mail': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2437,7 +2437,7 @@ You can change your order details and view the status of your order at
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_days_download_reminder': {
|
'mail_days_download_reminder': {
|
||||||
'type': int,
|
'type': int,
|
||||||
@@ -2461,7 +2461,7 @@ Your {event} team"""))
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_download_reminder': {
|
'mail_subject_download_reminder': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2477,7 +2477,7 @@ If you did not do so already, you can download your ticket here:
|
|||||||
{url}
|
{url}
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_customer_registration': {
|
'mail_subject_customer_registration': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2499,7 +2499,7 @@ If you did not sign up yourself, please ignore this email.
|
|||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
|
|
||||||
Your {organizer} team"""))
|
Your {organizer} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_customer_email_change': {
|
'mail_subject_customer_email_change': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2521,7 +2521,7 @@ If you did not request this, please ignore this email.
|
|||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
|
|
||||||
Your {organizer} team"""))
|
Your {organizer} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'mail_subject_customer_reset': {
|
'mail_subject_customer_reset': {
|
||||||
'type': LazyI18nString,
|
'type': LazyI18nString,
|
||||||
@@ -2543,7 +2543,7 @@ If you did not request a new password, please ignore this email.
|
|||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
|
|
||||||
Your {organizer} team"""))
|
Your {organizer} team""")) # noqa: W291
|
||||||
},
|
},
|
||||||
'smtp_use_custom': {
|
'smtp_use_custom': {
|
||||||
'default': 'False',
|
'default': 'False',
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ class VoucherBulkForm(VoucherForm):
|
|||||||
required=False,
|
required=False,
|
||||||
initial=_('Hello,\n\n'
|
initial=_('Hello,\n\n'
|
||||||
'with this email, we\'re sending you one or more vouchers for {event}:\n\n{voucher_list}\n\n'
|
'with this email, we\'re sending you one or more vouchers for {event}:\n\n{voucher_list}\n\n'
|
||||||
'You can redeem them here in our ticket shop:\n\n{url}\n\nBest regards,\n\n'
|
'You can redeem them here in our ticket shop:\n\n{url}\n\nBest regards, \n'
|
||||||
'Your {event} team')
|
'Your {event} team')
|
||||||
)
|
)
|
||||||
send_recipients = forms.CharField(
|
send_recipients = forms.CharField(
|
||||||
|
|||||||
@@ -140,5 +140,5 @@ you receive this message because an order for {event} was placed by {order_email
|
|||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
|
|
||||||
Your {event} team"""))
|
Your {event} team""")) # noqa: W291
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user