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'), // text: gettext('RAM'),
align: 'center', // align: 'center',
resizable: false, // resizable: false,
dataIndex: 'vmstate', // dataIndex: 'vmstate',
width: 50, // width: 50,
renderer: function(value, metaData, record) { // renderer: function(value, metaData, record) {
if (record.data.name !== 'current') { // if (record.data.name !== 'current') {
return PVE.Utils.format_boolean(value); // return PVE.Utils.format_boolean(value);
} // }
} // }
}, // },
{ {
text: gettext('Date') + "/" + gettext("Status"), text: gettext('Date') + "/" + gettext("Status"),
dataIndex: 'snaptime', dataIndex: 'snaptime',