Remove unneeded success and complete messages

This commit is contained in:
bfederle 2012-01-30 16:02:07 -08:00
parent b593898fbd
commit a9d427eea6

View File

@ -481,15 +481,9 @@
confirm: function(args) { //never being called
return 'Are you sure you want to deploy an instance?';
},
success: function(args) { //never being called
return args.name + ' is being created.';
},
notification: function(args) {
//return 'Creating new VM: ' + args.name; //args.name is not available
return 'Creating new VM';
},
complete: function(args) { //never being called
return args.name + ' has been created successfully!';
}
},
notification: {
@ -524,14 +518,8 @@
confirm: function(args) {
return 'Are you sure you want to start ' + args.name + '?';
},
success: function(args) {
return args.name + ' is being started.';
},
notification: function(args) {
return 'Starting VM: ' + args.name;
},
complete: function(args) {
return args.name + ' has been started.';
}
},
notification: {
@ -579,14 +567,9 @@
confirm: function(args) {
return 'Are you sure you want to stop ' + args.name + '?';
},
success: function(args) {
return args.name + ' is being stopped.';
},
notification: function(args) {
return 'Stopping VM: ' + args.name;
},
complete: function(args) {
return args.name + ' has been stopped.';
}
},
notification: {
@ -621,14 +604,8 @@
confirm: function(args) {
return 'Are you sure you want to reboot ' + args.name + '?';
},
success: function(args) {
return args.name + ' is being rebooted.';
},
notification: function(args) {
return 'Rebooting VM: ' + args.name;
},
complete: function(args) {
return args.name + ' has been rebooted successfully.';
}
},
notification: {
@ -646,9 +623,6 @@
},
notification: function(args) {
return 'Destroying VM: ' + args.name;
},
complete: function(args) {
return args.name + ' has been destroyed.';
}
},
action: function(args) {
@ -683,14 +657,8 @@
confirm: function(args) {
return 'Are you sure you want to restore ' + args.name + '?';
},
success: function(args) {
return args.name + ' is being restored.';
},
notification: function(args) {
return 'Restoring VM: ' + args.name;
},
complete: function(args) {
return args.name + ' has been restored.';
}
},
action: function(args) {
@ -800,14 +768,8 @@
confirm: function(args) {
return 'Are you sure you want to start ' + args.name + '?';
},
success: function(args) {
return args.name + ' is being started.';
},
notification: function(args) {
return 'Starting VM: ' + args.name;
},
complete: function(args) {
return args.name + ' has been started.';
}
},
notification: {
@ -855,14 +817,8 @@
confirm: function(args) {
return 'Are you sure you want to stop ' + args.name + '?';
},
success: function(args) {
return args.name + ' is being stopped.';
},
notification: function(args) {
return 'Stopping VM: ' + args.name;
},
complete: function(args) {
return args.name + ' has been stopped.';
}
},
notification: {
@ -897,14 +853,8 @@
confirm: function(args) {
return 'Are you sure you want to reboot ' + args.name + '?';
},
success: function(args) {
return args.name + ' is being rebooted.';
},
notification: function(args) {
return 'Rebooting VM: ' + args.name;
},
complete: function(args) {
return args.name + ' has been rebooted successfully.';
}
},
notification: {
@ -917,14 +867,8 @@
confirm: function(args) {
return 'Are you sure you want to destroy ' + args.name + '?';
},
success: function(args) {
return args.name + ' is being destroyed.';
},
notification: function(args) {
return 'Destroying VM: ' + args.name;
},
complete: function(args) {
return args.name + ' has been destroyed.';
}
},
action: function(args) {
@ -959,14 +903,8 @@
confirm: function(args) {
return 'Are you sure you want to restore ' + args.name + '?';
},
success: function(args) {
return args.name + ' is being restored.';
},
notification: function(args) {
return 'Restoring VM: ' + args.name;
},
complete: function(args) {
return args.name + ' has been restored.';
}
},
action: function(args) {
@ -1059,14 +997,8 @@
confirm: function(args) {
return 'Are you sure you want to attach ISO to instance ' + args.name + '?';
},
success: function(args) {
return 'ISO is being attached to instance ' + args.name;
},
notification: function(args) {
return 'Attaching ISO to instance ' + args.name;
},
complete: function(args) {
return 'ISO has been attached to instance ' + args.name;
}
},
notification: {
@ -1080,14 +1012,8 @@
confirm: function(args) {
return 'Are you sure you want to detach ISO ?';
},
success: function(args) {
return 'ISO is being detached.';
},
notification: function(args) {
return 'Detaching ISO';
},
complete: function(args) {
return 'ISO has been detached.';
}
},
action: function(args) {
@ -1123,9 +1049,6 @@
confirm: function(args) {
return 'Please confirm that you want to reset password.';
},
success: function(args) {
return 'Password is being reset.';
},
notification: function(args) {
return 'Resetting password';
},
@ -1180,14 +1103,8 @@
confirm: function(args) {
return 'Are you sure you want to change service offering?';
},
success: function(args) {
return 'Service offering is being changed.';
},
notification: function(args) {
return 'Changing service offering';
},
complete: function(args) {
return 'Service offering has been changed.';
}
},
createForm: {
@ -1258,9 +1175,6 @@
},
notification: function(args) {
return 'Creating template';
},
complete: function(args) {
return 'Template has been created.';
}
},
createForm: {
@ -1345,14 +1259,8 @@
confirm: function(args) {
return 'Please confirm that you want to migrate instance to another host.';
},
success: function(args) {
return 'Instance is being migrated to another host.';
},
notification: function(args) {
return 'Migrating instance to another host.';
},
complete: function(args) {
return 'Instance has been migrated to another host.';
}
},
createForm: {
@ -1429,14 +1337,8 @@
confirm: function(args) {
return 'Please confirm that you want to migrate instance to another primary storage.';
},
success: function(args) {
return 'Instance is being migrated to another primary storage.';
},
notification: function(args) {
return 'Migrating instance to another primary storage.';
},
complete: function(args) {
return 'Instance has been migrated to another primary storage.';
}
},
createForm: {