[pve-devel] [PATCH manager] ui: dc/SyncWindow: add help button
Dominik Csapak
d.csapak at proxmox.com
Thu Apr 30 13:16:10 CEST 2020
with link to the LDAP Syncing section of the documentation
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/dc/SyncWindow.js | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/www/manager6/dc/SyncWindow.js b/www/manager6/dc/SyncWindow.js
index e85e5b88..9355c551 100644
--- a/www/manager6/dc/SyncWindow.js
+++ b/www/manager6/dc/SyncWindow.js
@@ -21,6 +21,7 @@ Ext.define('PVE.dc.SyncWindow', {
},
'button': {
click: function(btn) {
+ if (btn.reference === 'help_btn') return;
this.sync_realm(btn.reference === 'preview_btn');
},
},
@@ -144,6 +145,13 @@ Ext.define('PVE.dc.SyncWindow', {
],
buttons: [
+ {
+ xtype: 'proxmoxHelpButton',
+ reference: 'help_btn',
+ onlineHelp: 'pveum_ldap_sync',
+ hidden: false,
+ },
+ '->',
{
text: gettext('Preview'),
reference: 'preview_btn',
--
2.20.1
More information about the pve-devel
mailing list