[pve-devel] [PATCH manager 1/5] remove RAM column from lxc snapshottree (temporarily)
Dominik Csapak
d.csapak at proxmox.com
Wed Jun 15 15:13:23 CEST 2016
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 at proxmox.com>
---
www/manager6/lxc/SnapshotTree.js | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/www/manager6/lxc/SnapshotTree.js b/www/manager6/lxc/SnapshotTree.js
index 9ee9f96..33a560d 100644
--- a/www/manager6/lxc/SnapshotTree.js
+++ b/www/manager6/lxc/SnapshotTree.js
@@ -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',
--
2.1.4
More information about the pve-devel
mailing list