From fd641b99c3e96ca92107a1d41cbf0e9f38179af6 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 8 Mar 2021 09:47:44 +0100 Subject: [PATCH] ui: add online help to drive/changer status --- www/tape/ChangerStatus.js | 2 ++ www/tape/DriveStatus.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/www/tape/ChangerStatus.js b/www/tape/ChangerStatus.js index e8b003aa..599e6320 100644 --- a/www/tape/ChangerStatus.js +++ b/www/tape/ChangerStatus.js @@ -15,6 +15,8 @@ Ext.define('PBS.TapeManagement.ChangerStatus', { extend: 'Ext.panel.Panel', alias: 'widget.pbsChangerStatus', + tools: [PBS.Utils.get_help_tool("tape_backup")], + controller: { xclass: 'Ext.app.ViewController', diff --git a/www/tape/DriveStatus.js b/www/tape/DriveStatus.js index c064ecc5..deb8d952 100644 --- a/www/tape/DriveStatus.js +++ b/www/tape/DriveStatus.js @@ -3,6 +3,8 @@ Ext.define('PBS.TapeManagement.DriveStatus', { alias: 'widget.pbsDriveStatus', mixins: ['Proxmox.Mixin.CBind'], + tools: [PBS.Utils.get_help_tool("tape_backup")], + cbindData: function(config) { let me = this; me.setTitle(`${gettext('Drive')}: ${me.drive}`);