[pbs-devel] [PATCH proxmox-backup 4/4] ui: display next-media-label for tape backup jobs

Dietmar Maurer dietmar at proxmox.com
Wed Aug 4 10:10:50 CEST 2021


---
 www/tape/BackupJobs.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/www/tape/BackupJobs.js b/www/tape/BackupJobs.js
index 84b260b9..6a80c97e 100644
--- a/www/tape/BackupJobs.js
+++ b/www/tape/BackupJobs.js
@@ -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',
-- 
2.30.2






More information about the pbs-devel mailing list