]> git.proxmox.com Git - pve-manager.git/commitdiff
show hookscript in gui
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 29 Jan 2019 15:28:46 +0000 (16:28 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 31 Jan 2019 10:05:55 +0000 (11:05 +0100)
only viewing, no editing
and show it only when it is set

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/lxc/Options.js
www/manager6/qemu/Options.js

index e4a8d86be20c967368452b16bc975897e66d7de9..23409938c6fa2fed6320e1fb7ec7d6fd8cff8166 100644 (file)
@@ -140,6 +140,9 @@ Ext.define('PVE.lxc.Options', {
                defaultValue: Proxmox.Utils.noneText,
                editor: Proxmox.UserName === 'root@pam' ?
                    'PVE.lxc.FeaturesEdit' : undefined
+           },
+           hookscript: {
+               header: gettext('Hookscript')
            }
        };
 
index 4ee28ff97afcf1341ba0882044c0b3c0fbf108e0..d1fb5a1f7f7cef46ac6c1fba4f5991496eb3e90d 100644 (file)
@@ -292,6 +292,9 @@ Ext.define('PVE.qemu.Options', {
                        fieldLabel: gettext('Enabled')
                    }
                } : undefined
+           },
+           hookscript: {
+               header: gettext('Hookscript')
            }
        };