From c3378f7b3ef27a76516abc6c63a74a49e8c37a41 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Tue, 8 Mar 2016 11:03:56 +0100 Subject: [PATCH] ext6migrate: add LVM-Thin to manager6 shows the option to add lvmthin storage Signed-off-by: Dominik Csapak --- www/manager6/dc/StorageView.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/www/manager6/dc/StorageView.js b/www/manager6/dc/StorageView.js index b9604c11..cf4df5bf 100644 --- a/www/manager6/dc/StorageView.js +++ b/www/manager6/dc/StorageView.js @@ -41,6 +41,8 @@ Ext.define('PVE.dc.StorageView', { editor = 'PVE.storage.GlusterFsEdit'; } else if (type === 'lvm') { editor = 'PVE.storage.LVMEdit'; + } else if (type === 'lvmthin') { + editor = 'PVE.storage.LvmThinEdit'; } else if (type === 'iscsi') { editor = 'PVE.storage.IScsiEdit'; } else if (type === 'rbd') { @@ -123,6 +125,15 @@ Ext.define('PVE.dc.StorageView', { win.show(); } }, + { + text: PVE.Utils.format_storage_type('lvmthin'), + iconCls: 'pve-itype-icon-storage', + handler: function() { + var win = Ext.create('PVE.storage.LvmThinEdit', {}); + win.on('destroy', reload); + win.show(); + } + }, { text: PVE.Utils.format_storage_type('nfs'), iconCls: 'pve-itype-icon-network-server',