[pbs-devel] [PATCH proxmox-backup 5/5] ui: add/fix help buttons

Aaron Lauterer a.lauterer at proxmox.com
Tue Nov 10 11:45:43 CET 2020


added a few more help buttons were appropriate:

* GC and Prune schedule windows
* Create Directory window
* API Tokens, link directly to token section
* verify jobs window

Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
 www/datastore/PruneAndGC.js   | 2 ++
 www/window/CreateDirectory.js | 2 ++
 www/window/TokenEdit.js       | 2 +-
 www/window/VerifyJobEdit.js   | 2 +-
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/www/datastore/PruneAndGC.js b/www/datastore/PruneAndGC.js
index 91b9f0d2..ab531118 100644
--- a/www/datastore/PruneAndGC.js
+++ b/www/datastore/PruneAndGC.js
@@ -70,6 +70,7 @@ Ext.define('PBS.DataStorePruneAndGC', {
 	    editor: {
 		xtype: 'proxmoxWindowEdit',
 		title: gettext('GC Schedule'),
+		onlineHelp: 'maintenance_gc',
 		items: {
 		    xtype: 'pbsCalendarEvent',
 		    name: 'gc-schedule',
@@ -86,6 +87,7 @@ Ext.define('PBS.DataStorePruneAndGC', {
 	    editor: {
 		xtype: 'proxmoxWindowEdit',
 		title: gettext('Prune Schedule'),
+		onlineHelp: 'maintenance_pruning',
 		items: {
 		    xtype: 'pbsCalendarEvent',
 		    name: 'prune-schedule',
diff --git a/www/window/CreateDirectory.js b/www/window/CreateDirectory.js
index f68c2f78..6aabe21a 100644
--- a/www/window/CreateDirectory.js
+++ b/www/window/CreateDirectory.js
@@ -8,6 +8,8 @@ Ext.define('PBS.window.CreateDirectory', {
     url: '/nodes/localhost/disks/directory',
     method: 'POST',
 
+    onlineHelp: 'storage-disk-management',
+
     items: [
 	{
 	    xtype: 'pmxDiskSelector',
diff --git a/www/window/TokenEdit.js b/www/window/TokenEdit.js
index 6b41ae9d..caa0765c 100644
--- a/www/window/TokenEdit.js
+++ b/www/window/TokenEdit.js
@@ -3,7 +3,7 @@ Ext.define('PBS.window.TokenEdit', {
     alias: 'widget.pbsTokenEdit',
     mixins: ['Proxmox.Mixin.CBind'],
 
-    onlineHelp: 'user_mgmt',
+    onlineHelp: 'user_tokens',
 
     user: undefined,
     tokenname: undefined,
diff --git a/www/window/VerifyJobEdit.js b/www/window/VerifyJobEdit.js
index 6153c8e5..a07cf10e 100644
--- a/www/window/VerifyJobEdit.js
+++ b/www/window/VerifyJobEdit.js
@@ -5,7 +5,7 @@ Ext.define('PBS.window.VerifyJobEdit', {
 
     userid: undefined,
 
-    onlineHelp: 'verifyjobs',
+    onlineHelp: 'maintenance-verification',
 
     isAdd: true,
 
-- 
2.20.1






More information about the pbs-devel mailing list