tape: add 'latest-only' property to backup job config

This commit is contained in:
Dietmar Maurer
2021-02-24 11:19:12 +01:00
parent 81678129fb
commit 21e3ed3449
4 changed files with 33 additions and 1 deletions

View File

@ -4,6 +4,7 @@ Ext.define('pbs-tape-backup-job-status', {
'id', 'store', 'pool', 'drive', 'store', 'schedule', 'comment',
{ name: 'eject-media', type: 'boolean' },
{ name: 'export-media-set', type: 'boolean' },
{ name: 'latest-only', type: 'boolean' },
'next-run', 'last-run-upid', 'last-run-state', 'last-run-endtime',
{
name: 'duration',
@ -214,6 +215,12 @@ Ext.define('PBS.config.TapeBackupJobView', {
width: 60,
sortable: false,
},
{
header: gettext('Latest Only'),
dataIndex: 'latest-only',
renderer: Proxmox.Utils.format_boolean,
sortable: false,
},
{
header: gettext('Schedule'),
dataIndex: 'schedule',