feat: express global status in mail subject
New format is: `[Xen Orchestra][Success | Failure] Backup report for $tag` Fixes vatesfr/xo-web#1463
This commit is contained in:
parent
be503f1341
commit
4fb6bef04c
@ -150,7 +150,7 @@ class BackupReportsXoPlugin {
|
||||
return Promise.all([
|
||||
xo.sendEmail && xo.sendEmail({
|
||||
to: this._mailsReceivers,
|
||||
subject: `Backup Reports for "${tag}" (Xen Orchestra)`,
|
||||
subject: `[Xen Orchestra][${globalSuccess ? 'Success' : 'Failure'}] Backup report for ${tag}`,
|
||||
markdown
|
||||
}),
|
||||
xo.sendToXmppClient && xo.sendToXmppClient({
|
||||
|
Loading…
Reference in New Issue
Block a user