[pve-devel] [PATCH manager 2/3] ui: dc/storages: add bwlimit column

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Mar 22 16:27:05 CET 2018


we have a format list, so just render it as plain text easiest to do
and gives an OK feedback

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager6/dc/StorageView.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/www/manager6/dc/StorageView.js b/www/manager6/dc/StorageView.js
index 67fa98d1..bebc69d5 100644
--- a/www/manager6/dc/StorageView.js
+++ b/www/manager6/dc/StorageView.js
@@ -265,6 +265,12 @@ Ext.define('PVE.dc.StorageView', {
 		    sortable: true,
 		    dataIndex: 'disable',
 		    renderer: Proxmox.Utils.format_neg_boolean
+		},
+		{
+		    header: gettext('Bandwidth Limit'),
+		    flex: 2,
+		    sortable: true,
+		    dataIndex: 'bwlimit'
 		}
 	    ],
 	    listeners: {
-- 
2.14.2





More information about the pve-devel mailing list