From d12338569d0f2dbaeea5636040efcce71a1f932e Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 10 Oct 2011 09:37:09 +0200 Subject: [PATCH] use better task descriptions --- www/manager/Utils.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/www/manager/Utils.js b/www/manager/Utils.js index 0dfa1f54..7bea4a65 100644 --- a/www/manager/Utils.js +++ b/www/manager/Utils.js @@ -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; },