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:
David Limbeck 2018-11-13 13:48:26 +01:00 committed by Thomas Lamprecht
parent 75357e9f0d
commit 75ceae787d

View File

@ -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();
} }
}); });