]> git.proxmox.com Git - proxmox-backup.git/blobdiff - www/tape/BackupJobs.js
tape: add 'latest-only' property to backup job config
[proxmox-backup.git] / www / tape / BackupJobs.js
index b8f5a0842b5d40c5a554bac26dfaf6d893ecf9f7..84b260b92c8eb76a680f5d18aa7eb81496a48c52 100644 (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',