remove RAM column from lxc snapshottree (temporarily)

since we cannot save the ram state for lxc containers currently,
it makes no sense to display a column, where every entry is 'no'

i left it there but commented it out, so that when we implement it,
we just have to reenable the column

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-06-15 15:13:23 +02:00 committed by Dietmar Maurer
parent 19bfb364c6
commit ac4905b2c9

View File

@ -248,18 +248,18 @@ Ext.define('PVE.lxc.SnapshotTree', {
}
}
},
{
text: gettext('RAM'),
align: 'center',
resizable: false,
dataIndex: 'vmstate',
width: 50,
renderer: function(value, metaData, record) {
if (record.data.name !== 'current') {
return PVE.Utils.format_boolean(value);
}
}
},
// {
// text: gettext('RAM'),
// align: 'center',
// resizable: false,
// dataIndex: 'vmstate',
// width: 50,
// renderer: function(value, metaData, record) {
// if (record.data.name !== 'current') {
// return PVE.Utils.format_boolean(value);
// }
// }
// },
{
text: gettext('Date') + "/" + gettext("Status"),
dataIndex: 'snaptime',