ui: tape/ChangerStatus: rename 'slot' column to 'id'

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@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-02-18 09:18:08 +01:00 committed by Dietmar Maurer
parent 4094fe5a31
commit 970a70b41e

View File

@ -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,
},