remove unused filter
This commit is contained in:
@@ -805,50 +805,6 @@ app.filter('eventLogDetails', function() {
|
||||
};
|
||||
});
|
||||
|
||||
app.filter('eventLogAction', function() {
|
||||
return function(eventLog) {
|
||||
switch (eventLog.action) {
|
||||
case ACTION_ACTIVATE: return 'Cloudron activated';
|
||||
case ACTION_RESTORE: return 'Cloudron restored';
|
||||
case ACTION_PROVISION: return 'Cloudron provisioned';
|
||||
|
||||
case ACTION_APP_CONFIGURE: return 'App configured';
|
||||
case ACTION_APP_INSTALL: return 'App installed';
|
||||
case ACTION_APP_RESTORE: return 'App restored';
|
||||
case ACTION_APP_UNINSTALL: return 'App uninstalled';
|
||||
case ACTION_APP_UPDATE: return 'App update started';
|
||||
case ACTION_APP_UPDATE_FINISH: return 'App updated';
|
||||
case ACTION_APP_CLONE: return 'App cloned';
|
||||
case ACTION_APP_LOGIN: return 'App login';
|
||||
case ACTION_BACKUP_START: return 'Backup started';
|
||||
case ACTION_BACKUP_FINISH: return 'Backup finished';
|
||||
case ACTION_BACKUP_CLEANUP_START: return 'Backup cleaner started';
|
||||
case ACTION_BACKUP_CLEANUP_FINISH: return 'Backup cleaner finished';
|
||||
case ACTION_CERTIFICATE_NEW: return 'Certificated installed';
|
||||
case ACTION_CERTIFICATE_RENEWAL: return 'Certificate renewal';
|
||||
case ACTION_DASHBOARD_DOMAIN_UPDATE: return 'Dashboard domain updated';
|
||||
case ACTION_DOMAIN_ADD: return 'Domain added';
|
||||
case ACTION_DOMAIN_UPDATE: return 'Domain updated';
|
||||
case ACTION_DOMAIN_REMOVE: return 'Domain removed';
|
||||
case ACTION_MAIL_ENABLED: return 'Mail enabled';
|
||||
case ACTION_MAIL_DISABLED: return 'Mail disabled';
|
||||
case ACTION_MAIL_MAILBOX_ADD: return 'Mailbox added';
|
||||
case ACTION_MAIL_MAILBOX_REMOVE: return 'Mailbox removed';
|
||||
case ACTION_MAIL_LIST_ADD: return 'Mail list added';
|
||||
case ACTION_MAIL_LIST_REMOVE: return 'Mail list removed';
|
||||
case ACTION_START: return 'Cloudron started';
|
||||
case ACTION_UPDATE: return 'Cloudron update started';
|
||||
case ACTION_UPDATE_FINISH: return 'Cloudron updated';
|
||||
case ACTION_USER_ADD: return 'User added';
|
||||
case ACTION_USER_LOGIN: return 'User login';
|
||||
case ACTION_USER_REMOVE: return 'User removed';
|
||||
case ACTION_USER_UPDATE: return 'User updated';
|
||||
case ACTION_DYNDNS_UPDATE: return 'DNS Updated';
|
||||
default: return eventLog.action;
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
// custom directive for dynamic names in forms
|
||||
// See http://stackoverflow.com/questions/23616578/issue-registering-form-control-with-interpolated-name#answer-23617401
|
||||
app.directive('laterName', function () { // (2)
|
||||
|
||||
Reference in New Issue
Block a user