forked from CGM_Public/pretix_original
Added a log text
This commit is contained in:
@@ -105,7 +105,6 @@ def pretixcontrol_logentry_display(sender: Event, logentry: LogEntry, **kwargs):
|
|||||||
'pretix.event.question.changed': _('The question has been modified.'),
|
'pretix.event.question.changed': _('The question has been modified.'),
|
||||||
'pretix.event.settings': _('The event settings have been changed.'),
|
'pretix.event.settings': _('The event settings have been changed.'),
|
||||||
'pretix.event.tickets.settings': _('The ticket download settings have been changed.'),
|
'pretix.event.tickets.settings': _('The ticket download settings have been changed.'),
|
||||||
'pretix.plugins.sendmail.sent': _('A mass mail has been sent.'),
|
|
||||||
'pretix.event.plugins.enabled': _('A plugin has been enabled.'),
|
'pretix.event.plugins.enabled': _('A plugin has been enabled.'),
|
||||||
'pretix.event.plugins.disabled': _('A plugin has been disabled.'),
|
'pretix.event.plugins.disabled': _('A plugin has been disabled.'),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ def control_nav_import(sender, request=None, **kwargs):
|
|||||||
def pretixcontrol_logentry_display(sender, logentry, **kwargs):
|
def pretixcontrol_logentry_display(sender, logentry, **kwargs):
|
||||||
plains = {
|
plains = {
|
||||||
'pretix.plugins.sendmail.sent': _('Email was sent'),
|
'pretix.plugins.sendmail.sent': _('Email was sent'),
|
||||||
|
'pretix.plugins.sendmail.order.email.sent': _('The order received a mass email.')
|
||||||
}
|
}
|
||||||
if logentry.action_type in plains:
|
if logentry.action_type in plains:
|
||||||
return plains[logentry.action_type]
|
return plains[logentry.action_type]
|
||||||
|
|||||||
Reference in New Issue
Block a user