mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-17 02:53:18 +01:00
Remove unneeded success and complete messages
This commit is contained in:
parent
b593898fbd
commit
a9d427eea6
@ -481,15 +481,9 @@
|
|||||||
confirm: function(args) { //never being called
|
confirm: function(args) { //never being called
|
||||||
return 'Are you sure you want to deploy an instance?';
|
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) {
|
notification: function(args) {
|
||||||
//return 'Creating new VM: ' + args.name; //args.name is not available
|
//return 'Creating new VM: ' + args.name; //args.name is not available
|
||||||
return 'Creating new VM';
|
return 'Creating new VM';
|
||||||
},
|
|
||||||
complete: function(args) { //never being called
|
|
||||||
return args.name + ' has been created successfully!';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
notification: {
|
notification: {
|
||||||
@ -524,14 +518,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to start ' + args.name + '?';
|
return 'Are you sure you want to start ' + args.name + '?';
|
||||||
},
|
},
|
||||||
success: function(args) {
|
|
||||||
return args.name + ' is being started.';
|
|
||||||
},
|
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Starting VM: ' + args.name;
|
return 'Starting VM: ' + args.name;
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return args.name + ' has been started.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
notification: {
|
notification: {
|
||||||
@ -579,14 +567,9 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to stop ' + args.name + '?';
|
return 'Are you sure you want to stop ' + args.name + '?';
|
||||||
},
|
},
|
||||||
success: function(args) {
|
|
||||||
return args.name + ' is being stopped.';
|
|
||||||
},
|
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Stopping VM: ' + args.name;
|
return 'Stopping VM: ' + args.name;
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return args.name + ' has been stopped.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
notification: {
|
notification: {
|
||||||
@ -621,14 +604,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to reboot ' + args.name + '?';
|
return 'Are you sure you want to reboot ' + args.name + '?';
|
||||||
},
|
},
|
||||||
success: function(args) {
|
|
||||||
return args.name + ' is being rebooted.';
|
|
||||||
},
|
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Rebooting VM: ' + args.name;
|
return 'Rebooting VM: ' + args.name;
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return args.name + ' has been rebooted successfully.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
notification: {
|
notification: {
|
||||||
@ -646,9 +623,6 @@
|
|||||||
},
|
},
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Destroying VM: ' + args.name;
|
return 'Destroying VM: ' + args.name;
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return args.name + ' has been destroyed.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
action: function(args) {
|
action: function(args) {
|
||||||
@ -683,14 +657,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to restore ' + args.name + '?';
|
return 'Are you sure you want to restore ' + args.name + '?';
|
||||||
},
|
},
|
||||||
success: function(args) {
|
|
||||||
return args.name + ' is being restored.';
|
|
||||||
},
|
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Restoring VM: ' + args.name;
|
return 'Restoring VM: ' + args.name;
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return args.name + ' has been restored.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
action: function(args) {
|
action: function(args) {
|
||||||
@ -800,14 +768,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to start ' + args.name + '?';
|
return 'Are you sure you want to start ' + args.name + '?';
|
||||||
},
|
},
|
||||||
success: function(args) {
|
|
||||||
return args.name + ' is being started.';
|
|
||||||
},
|
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Starting VM: ' + args.name;
|
return 'Starting VM: ' + args.name;
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return args.name + ' has been started.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
notification: {
|
notification: {
|
||||||
@ -855,14 +817,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to stop ' + args.name + '?';
|
return 'Are you sure you want to stop ' + args.name + '?';
|
||||||
},
|
},
|
||||||
success: function(args) {
|
|
||||||
return args.name + ' is being stopped.';
|
|
||||||
},
|
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Stopping VM: ' + args.name;
|
return 'Stopping VM: ' + args.name;
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return args.name + ' has been stopped.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
notification: {
|
notification: {
|
||||||
@ -897,14 +853,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to reboot ' + args.name + '?';
|
return 'Are you sure you want to reboot ' + args.name + '?';
|
||||||
},
|
},
|
||||||
success: function(args) {
|
|
||||||
return args.name + ' is being rebooted.';
|
|
||||||
},
|
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Rebooting VM: ' + args.name;
|
return 'Rebooting VM: ' + args.name;
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return args.name + ' has been rebooted successfully.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
notification: {
|
notification: {
|
||||||
@ -917,14 +867,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to destroy ' + args.name + '?';
|
return 'Are you sure you want to destroy ' + args.name + '?';
|
||||||
},
|
},
|
||||||
success: function(args) {
|
|
||||||
return args.name + ' is being destroyed.';
|
|
||||||
},
|
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Destroying VM: ' + args.name;
|
return 'Destroying VM: ' + args.name;
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return args.name + ' has been destroyed.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
action: function(args) {
|
action: function(args) {
|
||||||
@ -959,14 +903,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to restore ' + args.name + '?';
|
return 'Are you sure you want to restore ' + args.name + '?';
|
||||||
},
|
},
|
||||||
success: function(args) {
|
|
||||||
return args.name + ' is being restored.';
|
|
||||||
},
|
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Restoring VM: ' + args.name;
|
return 'Restoring VM: ' + args.name;
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return args.name + ' has been restored.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
action: function(args) {
|
action: function(args) {
|
||||||
@ -1059,14 +997,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to attach ISO to instance ' + args.name + '?';
|
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) {
|
notification: function(args) {
|
||||||
return 'Attaching ISO to instance ' + args.name;
|
return 'Attaching ISO to instance ' + args.name;
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return 'ISO has been attached to instance ' + args.name;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
notification: {
|
notification: {
|
||||||
@ -1080,14 +1012,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to detach ISO ?';
|
return 'Are you sure you want to detach ISO ?';
|
||||||
},
|
},
|
||||||
success: function(args) {
|
|
||||||
return 'ISO is being detached.';
|
|
||||||
},
|
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Detaching ISO';
|
return 'Detaching ISO';
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return 'ISO has been detached.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
action: function(args) {
|
action: function(args) {
|
||||||
@ -1123,9 +1049,6 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Please confirm that you want to reset password.';
|
return 'Please confirm that you want to reset password.';
|
||||||
},
|
},
|
||||||
success: function(args) {
|
|
||||||
return 'Password is being reset.';
|
|
||||||
},
|
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Resetting password';
|
return 'Resetting password';
|
||||||
},
|
},
|
||||||
@ -1180,14 +1103,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to change service offering?';
|
return 'Are you sure you want to change service offering?';
|
||||||
},
|
},
|
||||||
success: function(args) {
|
|
||||||
return 'Service offering is being changed.';
|
|
||||||
},
|
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Changing service offering';
|
return 'Changing service offering';
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return 'Service offering has been changed.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
createForm: {
|
createForm: {
|
||||||
@ -1258,9 +1175,6 @@
|
|||||||
},
|
},
|
||||||
notification: function(args) {
|
notification: function(args) {
|
||||||
return 'Creating template';
|
return 'Creating template';
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return 'Template has been created.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
createForm: {
|
createForm: {
|
||||||
@ -1345,14 +1259,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Please confirm that you want to migrate instance to another host.';
|
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) {
|
notification: function(args) {
|
||||||
return 'Migrating instance to another host.';
|
return 'Migrating instance to another host.';
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return 'Instance has been migrated to another host.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
createForm: {
|
createForm: {
|
||||||
@ -1429,14 +1337,8 @@
|
|||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Please confirm that you want to migrate instance to another primary storage.';
|
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) {
|
notification: function(args) {
|
||||||
return 'Migrating instance to another primary storage.';
|
return 'Migrating instance to another primary storage.';
|
||||||
},
|
|
||||||
complete: function(args) {
|
|
||||||
return 'Instance has been migrated to another primary storage.';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
createForm: {
|
createForm: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user