From: Davide Franco Date: Thu, 21 Jul 2011 16:18:39 +0000 (+0200) Subject: bacula-web: New column job type in jobs list X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9454e789d4db13487ac4089450bf780c52855954;p=bacula%2Fbacula bacula-web: New column job type in jobs list --- 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}