mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-30 01:02:17 +00:00
use better task descriptions
This commit is contained in:
parent
a42f6acbcb
commit
d12338569d
@ -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;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user