Add site name for backup events
This commit is contained in:
@@ -318,10 +318,10 @@ function eventlogDetails(eventLog, app = null, appIdContext = '') {
|
||||
return 'Backup ' + data.backupId + ' deleted from archive';
|
||||
|
||||
case ACTION_BACKUP_START:
|
||||
return `Backup started at ${data.siteName}`;
|
||||
return `Backup started at site ${data.siteName}`;
|
||||
|
||||
case ACTION_BACKUP_FINISH:
|
||||
if (!errorMessage) return `Cloudron backup created at site ${data.siteName} . Path(s): ${JSON.stringify(data.result)}`;
|
||||
if (!errorMessage) return `Cloudron backup created at site ${data.siteName}`;
|
||||
else return `Cloudron backup at site ${data.siteName} errored with error: ${errorMessage}`;
|
||||
|
||||
case ACTION_BACKUP_CLEANUP_START:
|
||||
@@ -365,7 +365,7 @@ function eventlogDetails(eventLog, app = null, appIdContext = '') {
|
||||
return 'Cloudron Footer set to ' + data.footer;
|
||||
|
||||
case ACTION_CERTIFICATE_NEW:
|
||||
return 'Certificate install for ' + data.domain + (errorMessage ? ' failed' : ' succeeded');
|
||||
return 'Certificate installation for ' + data.domain + (errorMessage ? ' failed' : ' succeeded');
|
||||
|
||||
case ACTION_CERTIFICATE_RENEWAL:
|
||||
return 'Certificate renewal for ' + data.domain + (errorMessage ? ' failed' : ' succeeded');
|
||||
|
||||
Reference in New Issue
Block a user