]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: display next-media-label for tape backup jobs
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 4 Aug 2021 07:56:33 +0000 (09:56 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 4 Aug 2021 07:59:12 +0000 (09:59 +0200)
www/tape/BackupJobs.js

index 84b260b92c8eb76a680f5d18aa7eb81496a48c52..6a80c97e9d00a31f9412468dc1844d89ede064be 100644 (file)
@@ -5,7 +5,7 @@ Ext.define('pbs-tape-backup-job-status', {
        { 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',
+       'next-run', 'next-media-label', 'last-run-upid', 'last-run-state', 'last-run-endtime',
        {
            name: 'duration',
            calculate: function(data) {
@@ -255,6 +255,12 @@ Ext.define('PBS.config.TapeBackupJobView', {
            width: 150,
            sortable: true,
        },
+       {
+           header: gettext('Next Media'),
+           dataIndex: 'next-media-label',
+           width: 100,
+           sortable: true,
+       },
        {
            header: gettext('Comment'),
            dataIndex: 'comment',