[pve-devel] [PATCH v2 manager 4/4] ui: storage selector: use storage type renderer
Fabian Ebner
f.ebner at proxmox.com
Tue Sep 21 13:22:08 CEST 2021
and make the column wider, so that "Proxmox Backup Server" fits.
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
Changes from v1:
* This was part of the proposed ClusterStorageSelector in v1.
* Instead of 140 which lead to "Proxmox Backup ...", use 160
so it fully fits.
www/manager6/form/StorageSelector.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/manager6/form/StorageSelector.js b/www/manager6/form/StorageSelector.js
index 5a394538..6edac042 100644
--- a/www/manager6/form/StorageSelector.js
+++ b/www/manager6/form/StorageSelector.js
@@ -24,8 +24,9 @@ Ext.define('PVE.form.StorageSelector', {
},
{
header: gettext('Type'),
- width: 75,
+ width: 160,
dataIndex: 'type',
+ renderer: PVE.Utils.format_storage_type,
},
{
header: gettext('Avail'),
--
2.30.2
More information about the pve-devel
mailing list