[pbs-devel] [PATCH proxmox-backup] ui: dashobard/DataStoreStatistics: add 'Available' column
Dominik Csapak
d.csapak at proxmox.com
Mon Mar 29 14:07:15 CEST 2021
for some storages, it is valuable information, e.g. if one has datastores
on separate datasets of the same zpool
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/dashboard/DataStoreStatistics.js | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/www/dashboard/DataStoreStatistics.js b/www/dashboard/DataStoreStatistics.js
index 13e1d160..7a0cb3dd 100644
--- a/www/dashboard/DataStoreStatistics.js
+++ b/www/dashboard/DataStoreStatistics.js
@@ -72,6 +72,13 @@ Ext.define('PBS.DatastoreStatistics', {
width: 90,
renderer: Proxmox.Utils.format_size,
},
+ {
+ text: gettext('Available'),
+ dataIndex: 'avail',
+ sortable: true,
+ width: 90,
+ renderer: Proxmox.Utils.format_size,
+ },
{
text: gettext('Usage %'),
dataIndex: 'usage',
--
2.20.1
More information about the pbs-devel
mailing list