[pve-devel] [RFC manager] add help button to 'My Settings' window
David Limbeck
d.limbeck at proxmox.com
Tue Nov 13 13:48:26 CET 2018
link to 'gui_my_settings' in docs
Signed-off-by: David Limbeck <d.limbeck at proxmox.com>
---
www/manager6/window/Settings.js | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/www/manager6/window/Settings.js b/www/manager6/window/Settings.js
index ef9dc021..1a4d8599 100644
--- a/www/manager6/window/Settings.js
+++ b/www/manager6/window/Settings.js
@@ -8,12 +8,20 @@ Ext.define('PVE.window.Settings', {
bodyPadding: 10,
resizable: false,
- buttons: [{
- text: gettext('Close'),
- handler: function() {
- this.up('window').close();
+ buttons: [
+ {
+ xtype: 'proxmoxHelpButton',
+ onlineHelp: 'gui_my_settings',
+ hidden: false
+ },
+ '->',
+ {
+ text: gettext('Close'),
+ handler: function() {
+ this.up('window').close();
+ }
}
- }],
+ ],
layout: {
type: 'hbox',
@@ -317,6 +325,5 @@ Ext.define('PVE.window.Settings', {
onShow: function() {
var me = this;
me.callParent();
-
}
});
--
2.11.0
More information about the pve-devel
mailing list