mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-16 09:27:26 +00:00
show hookscript in gui
only viewing, no editing and show it only when it is set Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
aef28e0430
commit
95f2a8a21a
@ -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')
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -292,6 +292,9 @@ Ext.define('PVE.qemu.Options', {
|
||||
fieldLabel: gettext('Enabled')
|
||||
}
|
||||
} : undefined
|
||||
},
|
||||
hookscript: {
|
||||
header: gettext('Hookscript')
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user