[pve-devel] [PATCH 3/3] Display target name better and fix typo

mir at datanom.net mir at datanom.net
Wed Oct 2 22:24:58 CEST 2013


From: Michael Rasmussen <mir at datanom.net>

Signed-off-by: Michael Rasmussen <mir at datanom.net>
---
 www/manager/dc/StorageView.js  |  2 +-
 www/manager/storage/ZFSEdit.js | 16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/www/manager/dc/StorageView.js b/www/manager/dc/StorageView.js
index be5f81a..03d8b6c 100644
--- a/www/manager/dc/StorageView.js
+++ b/www/manager/dc/StorageView.js
@@ -178,7 +178,7 @@ Ext.define('PVE.dc.StorageView', {
 				}
 			    },
 			    {
-				text: PVE.Utils.format_storage_type('ZFS'),
+				text: PVE.Utils.format_storage_type('zfs'),
 				iconCls: 'pve-itype-icon-node',
 				handler: function() {
 				    var win = Ext.create('PVE.storage.ZFSEdit', {});
diff --git a/www/manager/storage/ZFSEdit.js b/www/manager/storage/ZFSEdit.js
index 5b6a881..5126644 100644
--- a/www/manager/storage/ZFSEdit.js
+++ b/www/manager/storage/ZFSEdit.js
@@ -50,6 +50,14 @@ Ext.define('PVE.storage.ZFSInputPanel', {
 	    },
 	    {
 			xtype: me.create ? 'textfield' : 'displayfield',
+			name: 'blocksize',
+			height: 22, // hack: set same height as text fields
+			value: '4k',
+			fieldLabel: gettext('Block Size'),
+			allowBlank: false
+	    },
+	    {
+			xtype: me.create ? 'textfield' : 'displayfield',
 			name: 'target',
 			height: 22, // hack: set same height as text fields
 			value: 'iqn.2010-09.org.openindiana:omnios:....',
@@ -68,14 +76,6 @@ Ext.define('PVE.storage.ZFSInputPanel', {
 	    },
 	    {
 			xtype: me.create ? 'textfield' : 'displayfield',
-			name: 'blocksize',
-			height: 22, // hack: set same height as text fields
-			value: '4k',
-			fieldLabel: gettext('Block Size'),
-			allowBlank: false
-	    },
-	    {
-			xtype: me.create ? 'textfield' : 'displayfield',
 			name: 'iscsiprovider',
 			height: 22, // hack: set same height as text fields
 			value: 'Comstar',
-- 
1.8.4.rc3




More information about the pve-devel mailing list