public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Aaron Lauterer <a.lauterer@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 5/5] ui: add/fix help buttons
Date: Tue, 10 Nov 2020 11:45:43 +0100	[thread overview]
Message-ID: <20201110104543.24040-6-a.lauterer@proxmox.com> (raw)
In-Reply-To: <20201110104543.24040-1-a.lauterer@proxmox.com>

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@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





  parent reply	other threads:[~2020-11-10 10:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-10 10:45 [pbs-devel] [PATCH proxmox-backup 0/5] " Aaron Lauterer
2020-11-10 10:45 ` [pbs-devel] [PATCH proxmox-backup 1/5] scanrefs: only scan docs, not JS files Aaron Lauterer
2020-11-10 10:45 ` [pbs-devel] [PATCH proxmox-backup 2/5] docs: add maintenance chapter prefix to verification ref Aaron Lauterer
2020-11-10 10:45 ` [pbs-devel] [PATCH proxmox-backup 3/5] docs: add network management reference Aaron Lauterer
2020-11-10 10:45 ` [pbs-devel] [PATCH proxmox-backup 4/5] ui: add all online help refs found in docs Aaron Lauterer
2020-11-10 10:45 ` Aaron Lauterer [this message]
2020-11-10 10:52 ` [pbs-devel] applied-series: [PATCH proxmox-backup 0/5] add/fix help buttons Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201110104543.24040-6-a.lauterer@proxmox.com \
    --to=a.lauterer@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal