From 9454e789d4db13487ac4089450bf780c52855954 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Thu, 21 Jul 2011 18:18:39 +0200 Subject: [PATCH] bacula-web: New column job type in jobs list --- gui/bacula-web/jobs.php | 2 +- gui/bacula-web/templates/jobs.tpl | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gui/bacula-web/jobs.php b/gui/bacula-web/jobs.php index 6cd46dd290..5a35f62846 100644 --- a/gui/bacula-web/jobs.php +++ b/gui/bacula-web/jobs.php @@ -42,7 +42,7 @@ // Global variables $job_level = array( 'D' => 'Diff', 'I' => 'Incr', 'F' => 'Full' ); - $query .= "SELECT Job.JobId, Job.Name AS Job_name, Job.StartTime, Job.EndTime, Job.Level, Job.JobBytes, Job.JobFiles, Pool.Name, Job.JobStatus, Pool.Name AS Pool_name, Status.JobStatusLong "; + $query .= "SELECT Job.JobId, Job.Name AS Job_name, Job.Type, Job.StartTime, Job.EndTime, Job.Level, Job.JobBytes, Job.JobFiles, Pool.Name, Job.JobStatus, Pool.Name AS Pool_name, Status.JobStatusLong "; $query .= "FROM Job "; $query .= "LEFT JOIN Pool ON Job.PoolId=Pool.PoolId "; $query .= "LEFT JOIN Status ON Job.JobStatus = Status.JobStatus "; diff --git a/gui/bacula-web/templates/jobs.tpl b/gui/bacula-web/templates/jobs.tpl index 58be37665b..3c7888f19f 100644 --- a/gui/bacula-web/templates/jobs.tpl +++ b/gui/bacula-web/templates/jobs.tpl @@ -43,7 +43,8 @@ Status Job ID - BackupJob + Name + Type Start Time End Time Elapsed time @@ -62,6 +63,7 @@ {$job.job_name} + {$job.type} {$job.starttime} {$job.endtime} {$job.elapsed_time} -- 2.39.5