mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-06-04 14:58:38 +00:00
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:
parent
413ada0fbb
commit
cfb103131f
@ -514,28 +514,23 @@ Ext.define('PVE.node.CephOsdTree', {
|
||||
width: 90
|
||||
},
|
||||
{
|
||||
header: gettext('Used'),
|
||||
columns: [
|
||||
{
|
||||
text: '%',
|
||||
dataIndex: 'percent_used',
|
||||
align: 'right',
|
||||
renderer: function(value, metaData, rec) {
|
||||
if (rec.data.type !== 'osd') {
|
||||
return '';
|
||||
}
|
||||
return Ext.util.Format.number(value, '0.00');
|
||||
},
|
||||
width: 80
|
||||
},
|
||||
{
|
||||
text: gettext('Total'),
|
||||
dataIndex: 'total_space',
|
||||
align: 'right',
|
||||
renderer: 'render_osd_size',
|
||||
width: 100
|
||||
text: gettext('Used') + ' (%)',
|
||||
dataIndex: 'percent_used',
|
||||
align: 'right',
|
||||
renderer: function(value, metaData, rec) {
|
||||
if (rec.data.type !== 'osd') {
|
||||
return '';
|
||||
}
|
||||
]
|
||||
return Ext.util.Format.number(value, '0.00');
|
||||
},
|
||||
width: 100
|
||||
},
|
||||
{
|
||||
text: gettext('Total'),
|
||||
dataIndex: 'total_space',
|
||||
align: 'right',
|
||||
renderer: 'render_osd_size',
|
||||
width: 100
|
||||
},
|
||||
{
|
||||
header: gettext('Latency (ms)'),
|
||||
|
Loading…
Reference in New Issue
Block a user