dashboard: show full mailbox address in eventlog
This commit is contained in:
@@ -3688,18 +3688,14 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
if (!data.app) return '';
|
||||
app = data.app;
|
||||
|
||||
var q = function (x) {
|
||||
return '"' + x + '"';
|
||||
};
|
||||
|
||||
if ('accessRestriction' in data) { // since it can be null
|
||||
return 'Access restriction ' + appName('of', app) + ' was changed';
|
||||
} else if ('operators' in data) {
|
||||
return 'Operators ' + appName('of', app) + ' was changed';
|
||||
} else if (data.label) {
|
||||
return 'Label ' + appName('of', app) + ' was set to ' + q(data.label);
|
||||
return `Label ${appName('of', app)} was set to <b>${data.label}</b>`;
|
||||
} else if (data.tags) {
|
||||
return 'Tags ' + appName('of', app) + ' was set to ' + q(data.tags.join(','));
|
||||
return `Tags ${appName('of', app)} were set to <b>${data.tags.join(', ')}</b>`;
|
||||
} else if (data.icon) {
|
||||
return 'Icon ' + appName('of', app) + ' was changed';
|
||||
} else if (data.memoryLimit) {
|
||||
@@ -3756,7 +3752,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
}
|
||||
} else if (('mailboxName' in data) && data.mailboxName !== data.app.mailboxName) {
|
||||
if (data.mailboxName) {
|
||||
return 'Mailbox ' + appName('of', app) + ' was set to ' + q(data.mailboxName);
|
||||
return `Mailbox ${appName('of', app)} was set to <b>${data.mailboxName}@${data.mailboxDomain}</b>`;
|
||||
} else {
|
||||
return 'Mailbox ' + appName('of', app) + ' was reset';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user