use better task descriptions

This commit is contained in:
Dietmar Maurer 2011-10-10 09:37:09 +02:00
parent a42f6acbcb
commit d12338569d

View File

@ -369,13 +369,33 @@ Ext.define('PVE.Utils', { statics: {
format_task_description: function(type, id) {
if (type == 'vncproxy') {
return "VNC connection to VM " + id;
return "VNC connection to VM/CT " + id;
}
if (type == 'vncshell') {
return "VNC shell";
}
if (type == 'qmigrate') {
return "Migrate VM " + id;
}
if (type == 'vzcreate') {
return "Create CT " + id;
}
if (type == 'vzdestroy') {
return "Destroy CT " + id;
}
if (type == 'vzstart') {
return "Start CT " + id;
}
if (type == 'vzstop') {
return "Stop CT " + id;
}
return type;
},