]> git.proxmox.com Git - pve-manager.git/commitdiff
add correct display text for lvmthin and drbd storage type
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 27 Jan 2016 04:56:30 +0000 (05:56 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 27 Jan 2016 04:56:30 +0000 (05:56 +0100)
www/manager/Utils.js
www/manager6/Utils.js

index 63a563d186e7c297ede517555867dae060c2f16c..09788cfc8c855346e28c9f232466739b46ee1cb8 100644 (file)
@@ -757,6 +757,8 @@ Ext.define('PVE.Utils', { statics: {
            return 'GlusterFS';
        } else if (value === 'lvm') {
            return 'LVM';
+       } else if (value === 'lvmthin') {
+           return 'LVM-Thin';
        } else if (value === 'iscsi') {
            return 'iSCSI';
        } else if (value === 'rbd') {
@@ -769,6 +771,8 @@ Ext.define('PVE.Utils', { statics: {
            return 'ZFS';
        } else if (value === 'iscsidirect') {
            return 'iSCSIDirect';
+       } else if (value === 'drbd') {
+           return 'DRBD';
        } else {
            return PVE.Utils.unknownText;
        }
index 71c1654461c91d63db4285011d0f8a59dd5de3c0..f286c094d1d6e4e80f07e39acee9317b1cd8f85e 100644 (file)
@@ -738,6 +738,8 @@ Ext.define('PVE.Utils', { statics: {
            return 'GlusterFS';
        } else if (value === 'lvm') {
            return 'LVM';
+       } else if (value === 'lvmthin') {
+           return 'LVM-Thin';
        } else if (value === 'iscsi') {
            return 'iSCSI';
        } else if (value === 'rbd') {
@@ -750,6 +752,8 @@ Ext.define('PVE.Utils', { statics: {
            return 'ZFS';
        } else if (value === 'iscsidirect') {
            return 'iSCSIDirect';
+       } else if (value === 'drbd') {
+           return 'DRBD';
        } else {
            return PVE.Utils.unknownText;
        }