From d2edc68ead0024bd4aec0650946adb5c2f3cda89 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 29 Jan 2021 14:57:52 +0100 Subject: [PATCH] ui: tape/ChangerStatus: add missing tooltips Signed-off-by: Dominik Csapak --- www/tape/ChangerStatus.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/www/tape/ChangerStatus.js b/www/tape/ChangerStatus.js index ecfdc424..78265024 100644 --- a/www/tape/ChangerStatus.js +++ b/www/tape/ChangerStatus.js @@ -527,11 +527,13 @@ Ext.define('PBS.TapeManagement.ChangerStatus', { { iconCls: 'fa fa-rotate-90 fa-exchange', handler: 'slotTransfer', + tooltip: gettext('Transfer'), isDisabled: (v, r, c, i, rec) => !rec.data['label-text'], }, { iconCls: 'fa fa-rotate-90 fa-upload', handler: 'load', + tooltip: gettext('Load'), isDisabled: (v, r, c, i, rec) => !rec.data['label-text'], }, ], @@ -601,29 +603,35 @@ Ext.define('PBS.TapeManagement.ChangerStatus', { { iconCls: 'fa fa-rotate-270 fa-upload', handler: 'unload', + tooltip: gettext('Unload'), isDisabled: (v, r, c, i, rec) => !rec.data['label-text'], }, { iconCls: 'fa fa-hdd-o', handler: 'cartridgeMemory', + tooltip: gettext('Cartridge Memory'), isDisabled: (v, r, c, i, rec) => !rec.data['label-text'], }, { iconCls: 'fa fa-line-chart', handler: 'volumeStatistics', + tooltip: gettext('Volume Statistics'), isDisabled: (v, r, c, i, rec) => !rec.data['label-text'], }, { iconCls: 'fa fa-tag', handler: 'readLabel', + tooltip: gettext('Read Label'), isDisabled: (v, r, c, i, rec) => !rec.data['label-text'], }, { iconCls: 'fa fa-info-circle', + tooltip: gettext('Status'), handler: 'status', }, { iconCls: 'fa fa-shower', + tooltip: gettext('Clean Drive'), handler: 'cleanDrive', }, ],