Added a log text

This commit is contained in:
Raphael Michel
2017-01-04 10:54:26 +01:00
parent 1cfce1f5e9
commit 954af1de3d
2 changed files with 1 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ def control_nav_import(sender, request=None, **kwargs):
def pretixcontrol_logentry_display(sender, logentry, **kwargs):
plains = {
'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:
return plains[logentry.action_type]