mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-08 04:47:06 +00:00
add help button to 'My Settings' window
link to 'gui_my_settings' in docs Signed-off-by: David Limbeck <d.limbeck@proxmox.com>
This commit is contained in:
parent
75357e9f0d
commit
75ceae787d
@ -8,12 +8,20 @@ Ext.define('PVE.window.Settings', {
|
|||||||
bodyPadding: 10,
|
bodyPadding: 10,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
|
|
||||||
buttons: [{
|
buttons: [
|
||||||
|
{
|
||||||
|
xtype: 'proxmoxHelpButton',
|
||||||
|
onlineHelp: 'gui_my_settings',
|
||||||
|
hidden: false
|
||||||
|
},
|
||||||
|
'->',
|
||||||
|
{
|
||||||
text: gettext('Close'),
|
text: gettext('Close'),
|
||||||
handler: function() {
|
handler: function() {
|
||||||
this.up('window').close();
|
this.up('window').close();
|
||||||
}
|
}
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
|
|
||||||
layout: {
|
layout: {
|
||||||
type: 'hbox',
|
type: 'hbox',
|
||||||
@ -317,6 +325,5 @@ Ext.define('PVE.window.Settings', {
|
|||||||
onShow: function() {
|
onShow: function() {
|
||||||
var me = this;
|
var me = this;
|
||||||
me.callParent();
|
me.callParent();
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user