Commit beaa695f authored by Dietmar Maurer's avatar Dietmar Maurer

use better task descriptions

parent 9b2f5473
...@@ -369,13 +369,33 @@ Ext.define('PVE.Utils', { statics: { ...@@ -369,13 +369,33 @@ Ext.define('PVE.Utils', { statics: {
format_task_description: function(type, id) { format_task_description: function(type, id) {
if (type == 'vncproxy') { if (type == 'vncproxy') {
return "VNC connection to VM " + id; return "VNC connection to VM/CT " + id;
} }
if (type == 'vncshell') { if (type == 'vncshell') {
return "VNC shell"; 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; return type;
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment