ui: add some onlineHelp reference uses for pruning

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-11-07 16:03:07 +01:00
parent 3896f80cb3
commit 6d5803399b
3 changed files with 14 additions and 0 deletions

View File

@ -11,6 +11,10 @@ const proxmoxOnlineHelpInfo = {
"link": "/docs/sysadmin.html#chapter-zfs",
"title": "ZFS on Linux"
},
"maintenance-pruning": {
"link": "/docs/maintenance.html#maintenance-pruning",
"title": "Pruning"
},
"maintenance-notification": {
"link": "/docs/maintenance.html#maintenance-notification",
"title": "Notifications"

View File

@ -3,6 +3,8 @@ Ext.define('PBS.DataStorePruneAndGC', {
alias: 'widget.pbsDataStorePruneAndGC',
mixins: ['Proxmox.Mixin.CBind'],
onlineHelp: 'maintenance_pruning',
cbindData: function(initial) {
let me = this;
@ -99,6 +101,7 @@ Ext.define('PBS.DataStorePruneAndGC', {
editor: {
xtype: 'proxmoxWindowEdit',
title: gettext('Prune Options'),
onlineHelp: 'maintenance_pruning',
items: {
xtype: 'pbsPruneInputPanel',
isCreate: false,
@ -111,6 +114,7 @@ Ext.define('PBS.DataStorePruneAndGC', {
editor: {
xtype: 'proxmoxWindowEdit',
title: gettext('Prune Options'),
onlineHelp: 'maintenance_pruning',
items: {
xtype: 'pbsPruneInputPanel',
},
@ -122,6 +126,7 @@ Ext.define('PBS.DataStorePruneAndGC', {
editor: {
xtype: 'proxmoxWindowEdit',
title: gettext('Prune Options'),
onlineHelp: 'maintenance_pruning',
items: {
xtype: 'pbsPruneInputPanel',
},
@ -133,6 +138,7 @@ Ext.define('PBS.DataStorePruneAndGC', {
editor: {
xtype: 'proxmoxWindowEdit',
title: gettext('Prune Options'),
onlineHelp: 'maintenance_pruning',
items: {
xtype: 'pbsPruneInputPanel',
},
@ -144,6 +150,7 @@ Ext.define('PBS.DataStorePruneAndGC', {
editor: {
xtype: 'proxmoxWindowEdit',
title: gettext('Prune Options'),
onlineHelp: 'maintenance_pruning',
items: {
xtype: 'pbsPruneInputPanel',
},
@ -155,6 +162,7 @@ Ext.define('PBS.DataStorePruneAndGC', {
editor: {
xtype: 'proxmoxWindowEdit',
title: gettext('Prune Options'),
onlineHelp: 'maintenance_pruning',
items: {
xtype: 'pbsPruneInputPanel',
},

View File

@ -4,6 +4,8 @@ Ext.define('PBS.panel.PruneInputPanel', {
mixins: ['Proxmox.Mixin.CBind'],
onlineHelp: 'maintenance_pruning',
cbindData: function() {
let me = this;
me.isCreate = !!me.isCreate;