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", "link": "/docs/sysadmin.html#chapter-zfs",
"title": "ZFS on Linux" "title": "ZFS on Linux"
}, },
"maintenance-pruning": {
"link": "/docs/maintenance.html#maintenance-pruning",
"title": "Pruning"
},
"maintenance-notification": { "maintenance-notification": {
"link": "/docs/maintenance.html#maintenance-notification", "link": "/docs/maintenance.html#maintenance-notification",
"title": "Notifications" "title": "Notifications"

View File

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

View File

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