]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: storage: add namespace support when creating PBS storage
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 12 May 2022 13:07:38 +0000 (15:07 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 12 May 2022 13:07:38 +0000 (15:07 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/storage/PBSEdit.js

index b46ddf71cc5d0967d06c1e6911d58d5ce9ccb40a..d880308cf5ce4c406fc8fa6a5029e051bf11b5a8 100644 (file)
@@ -552,6 +552,14 @@ Ext.define('PVE.storage.PBSInputPanel', {
                fieldLabel: 'Datastore',
                allowBlank: false,
            },
+           {
+               xtype: me.isCreate ? 'textfield' : 'displayfield',
+               name: 'namespace',
+               value: '',
+               emptyText: gettext('Root'),
+               fieldLabel: gettext('Namespace'),
+               allowBlank: true,
+           },
        ];
 
        me.columnB = [