diff --git a/dashboard/src/js/client.js b/dashboard/src/js/client.js index 3e3b56519..c8422007b 100644 --- a/dashboard/src/js/client.js +++ b/dashboard/src/js/client.js @@ -3675,6 +3675,11 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout return pre + (app.label || app.fqdn || app.subdomain) + ' (' + app.manifest.title + ') '; } + function eventBy() { + if (eventLog.source && eventLog.source.username) return ' by ' + eventLog.source.username; + return ''; + } + switch (eventLog.action) { case ACTION_ACTIVATE: return 'Cloudron was activated'; @@ -3768,7 +3773,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout case ACTION_APP_INSTALL: if (!data.app) return ''; - return data.app.manifest.title + ' (package v' + data.app.manifest.version + ') was installed ' + appName('at', data.app); + return data.app.manifest.title + ' (package v' + data.app.manifest.version + ') was installed ' + appName('at', data.app) + eventBy(); case ACTION_APP_RESTORE: if (!data.app) return '';