mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Fix #747 -- Logging of download reminders
This commit is contained in:
committed by
Raphael Michel
parent
139810c8a5
commit
d622f38e1d
@@ -646,7 +646,7 @@ def send_download_reminders(sender, **kwargs):
|
|||||||
try:
|
try:
|
||||||
o.send_mail(
|
o.send_mail(
|
||||||
email_subject, email_template, email_context,
|
email_subject, email_template, email_context,
|
||||||
'pretix.event.order.email.expire_warning_sent'
|
'pretix.event.order.email.download_reminder_sent'
|
||||||
)
|
)
|
||||||
except SendMailException:
|
except SendMailException:
|
||||||
logger.exception('Reminder email could not be sent')
|
logger.exception('Reminder email could not be sent')
|
||||||
|
|||||||
@@ -127,6 +127,8 @@ def pretixcontrol_logentry_display(sender: Event, logentry: LogEntry, **kwargs):
|
|||||||
'pretix.event.order.payment.changed': _('The payment method has been changed.'),
|
'pretix.event.order.payment.changed': _('The payment method has been changed.'),
|
||||||
'pretix.event.order.email.sent': _('An unidentified type email has been sent.'),
|
'pretix.event.order.email.sent': _('An unidentified type email has been sent.'),
|
||||||
'pretix.event.order.email.custom_sent': _('A custom email has been sent.'),
|
'pretix.event.order.email.custom_sent': _('A custom email has been sent.'),
|
||||||
|
'pretix.event.order.email.download_reminder_sent': _('An email has been sent with a reminder that the ticket '
|
||||||
|
'is available for download.'),
|
||||||
'pretix.event.order.email.expire_warning_sent': _('An email has been sent with a warning that the order is about '
|
'pretix.event.order.email.expire_warning_sent': _('An email has been sent with a warning that the order is about '
|
||||||
'to expire.'),
|
'to expire.'),
|
||||||
'pretix.event.order.email.order_canceled': _('An email has been sent to notify the user that the order has been canceled.'),
|
'pretix.event.order.email.order_canceled': _('An email has been sent to notify the user that the order has been canceled.'),
|
||||||
|
|||||||
Reference in New Issue
Block a user