mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-26 04:31:08 +00:00
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 <d.csapak@proxmox.com>
This commit is contained in:
parent
8a58f55446
commit
9cd3300098
@ -120,14 +120,28 @@ Ext.define('PVE.ha.ResourcesView', {
|
|||||||
sortable: true,
|
sortable: true,
|
||||||
dataIndex: 'sid'
|
dataIndex: 'sid'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
header: gettext('State'),
|
||||||
|
width: 100,
|
||||||
|
sortable: true,
|
||||||
|
dataIndex: 'state'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
header: gettext('Request State'),
|
header: gettext('Request State'),
|
||||||
width: 100,
|
width: 100,
|
||||||
|
hidden: true,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
renderer: function(v) {
|
renderer: function(v) {
|
||||||
return v || 'started';
|
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'),
|
header: gettext('Max. Restart'),
|
||||||
|
Loading…
Reference in New Issue
Block a user