ui: ceph/osd: split out used% and total avail column

as "used -> total" is just confusing

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-07-11 11:15:45 +02:00
parent 413ada0fbb
commit cfb103131f

View File

@ -514,10 +514,7 @@ Ext.define('PVE.node.CephOsdTree', {
width: 90 width: 90
}, },
{ {
header: gettext('Used'), text: gettext('Used') + ' (%)',
columns: [
{
text: '%',
dataIndex: 'percent_used', dataIndex: 'percent_used',
align: 'right', align: 'right',
renderer: function(value, metaData, rec) { renderer: function(value, metaData, rec) {
@ -526,7 +523,7 @@ Ext.define('PVE.node.CephOsdTree', {
} }
return Ext.util.Format.number(value, '0.00'); return Ext.util.Format.number(value, '0.00');
}, },
width: 80 width: 100
}, },
{ {
text: gettext('Total'), text: gettext('Total'),
@ -534,8 +531,6 @@ Ext.define('PVE.node.CephOsdTree', {
align: 'right', align: 'right',
renderer: 'render_osd_size', renderer: 'render_osd_size',
width: 100 width: 100
}
]
}, },
{ {
header: gettext('Latency (ms)'), header: gettext('Latency (ms)'),