ui: add online help to drive/changer status

This commit is contained in:
Dietmar Maurer 2021-03-08 09:47:44 +01:00
parent 225affc9ca
commit fd641b99c3
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,8 @@ Ext.define('PBS.TapeManagement.ChangerStatus', {
extend: 'Ext.panel.Panel', extend: 'Ext.panel.Panel',
alias: 'widget.pbsChangerStatus', alias: 'widget.pbsChangerStatus',
tools: [PBS.Utils.get_help_tool("tape_backup")],
controller: { controller: {
xclass: 'Ext.app.ViewController', xclass: 'Ext.app.ViewController',

View File

@ -3,6 +3,8 @@ Ext.define('PBS.TapeManagement.DriveStatus', {
alias: 'widget.pbsDriveStatus', alias: 'widget.pbsDriveStatus',
mixins: ['Proxmox.Mixin.CBind'], mixins: ['Proxmox.Mixin.CBind'],
tools: [PBS.Utils.get_help_tool("tape_backup")],
cbindData: function(config) { cbindData: function(config) {
let me = this; let me = this;
me.setTitle(`${gettext('Drive')}: ${me.drive}`); me.setTitle(`${gettext('Drive')}: ${me.drive}`);