From 9eb1d8ee70bad3c44d91b7dd0da06f80d96bc5e2 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Tue, 22 Nov 2016 12:07:31 +0100 Subject: [PATCH] change the ha resources columns rename Request State to State, and add the request_state and crm_state as hidden columns (so that the user can display them if they want) Signed-off-by: Dominik Csapak --- www/manager6/ha/Resources.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/www/manager6/ha/Resources.js b/www/manager6/ha/Resources.js index 8dfb4d9ca..16151cca5 100644 --- a/www/manager6/ha/Resources.js +++ b/www/manager6/ha/Resources.js @@ -120,14 +120,28 @@ Ext.define('PVE.ha.ResourcesView', { sortable: true, dataIndex: 'sid' }, + { + header: gettext('State'), + width: 100, + sortable: true, + dataIndex: 'state' + }, { header: gettext('Request State'), width: 100, + hidden: true, sortable: true, renderer: function(v) { return v || 'started'; }, - dataIndex: 'state' + dataIndex: 'request_state' + }, + { + header: gettext('CRM State'), + width: 100, + hidden: true, + sortable: true, + dataIndex: 'crm_state' }, { header: gettext('Max. Restart'),