Add site name for backup events

This commit is contained in:
Girish Ramakrishnan
2025-10-09 17:24:43 +02:00
parent 5bc3cb6353
commit b2a41cc4d5
2 changed files with 6 additions and 6 deletions

View File

@@ -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');