[pbs-devel] [PATCH proxmox-backup 2/3] ui: tape/ChangerStatus: rename 'slot' column to 'id'
Dominik Csapak
d.csapak at proxmox.com
Thu Feb 18 09:18:08 CET 2021
slot is already in the title of the grid, and hide it by default for
drives (the user does not need it there)
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/tape/ChangerStatus.js | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/www/tape/ChangerStatus.js b/www/tape/ChangerStatus.js
index 9837481b..c00ad979 100644
--- a/www/tape/ChangerStatus.js
+++ b/www/tape/ChangerStatus.js
@@ -558,7 +558,7 @@ Ext.define('PBS.TapeManagement.ChangerStatus', {
},
columns: [
{
- text: gettext('Slot'),
+ text: gettext('ID'),
dataIndex: 'entry-id',
width: 50,
},
@@ -618,8 +618,9 @@ Ext.define('PBS.TapeManagement.ChangerStatus', {
},
columns: [
{
- text: gettext('Slot'),
+ text: gettext('ID'),
dataIndex: 'entry-id',
+ hidden: true,
width: 50,
},
{
@@ -711,10 +712,10 @@ Ext.define('PBS.TapeManagement.ChangerStatus', {
store: {
data: [],
},
- title: gettext('Import-Export'),
+ title: gettext('Import-Export Slots'),
columns: [
{
- text: gettext('Slot'),
+ text: gettext('ID'),
dataIndex: 'entry-id',
width: 50,
},
--
2.20.1
More information about the pbs-devel
mailing list