ui: tape: show configred group filters
in the grid and in the edit window Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c8c5c7f571
commit
8a21566c8a
@ -1,7 +1,7 @@
|
||||
Ext.define('pbs-tape-backup-job-status', {
|
||||
extend: 'Ext.data.Model',
|
||||
fields: [
|
||||
'id', 'store', 'pool', 'drive', 'store', 'schedule', 'comment',
|
||||
'id', 'store', 'pool', 'drive', 'store', 'schedule', 'comment', 'groups',
|
||||
{ name: 'eject-media', type: 'boolean' },
|
||||
{ name: 'export-media-set', type: 'boolean' },
|
||||
{ name: 'latest-only', type: 'boolean' },
|
||||
@ -221,6 +221,12 @@ Ext.define('PBS.config.TapeBackupJobView', {
|
||||
renderer: Proxmox.Utils.format_boolean,
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
header: gettext('Backup Groups'),
|
||||
dataIndex: 'groups',
|
||||
renderer: v => v ? Ext.String.htmlEncode(v) : gettext('All'),
|
||||
width: 80,
|
||||
},
|
||||
{
|
||||
header: gettext('Schedule'),
|
||||
dataIndex: 'schedule',
|
||||
|
@ -123,6 +123,15 @@ Ext.define('PBS.TapeManagement.BackupJobEdit', {
|
||||
],
|
||||
|
||||
columnB: [
|
||||
{
|
||||
fieldLabel: gettext('Backup Groups'),
|
||||
xtype: 'displayfield',
|
||||
name: 'groups',
|
||||
renderer: v => v ? Ext.String.htmlEncode(v) : gettext('All'),
|
||||
cbind: {
|
||||
hidden: '{isCreate}',
|
||||
},
|
||||
},
|
||||
{
|
||||
fieldLabel: gettext('Comment'),
|
||||
xtype: 'proxmoxtextfield',
|
||||
|
Loading…
Reference in New Issue
Block a user