Commit 7afb2ab5 authored by Michael Rasmussen's avatar Michael Rasmussen Committed by Dietmar Maurer

Display-target-name-better-and-fix-typo

Signed-off-by: 's avatarMichael Rasmussen <mir@datanom.net>
parent d8767789
......@@ -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', {});
......
......@@ -48,6 +48,14 @@ Ext.define('PVE.storage.ZFSInputPanel', {
fieldLabel: gettext('Pool'),
allowBlank: false
},
{
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',
......@@ -66,14 +74,6 @@ Ext.define('PVE.storage.ZFSInputPanel', {
uncheckedValue: 0,
fieldLabel: gettext('Enable')
},
{
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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment