From: Davide Franco Date: Sun, 24 Jul 2011 16:55:24 +0000 (+0200) Subject: bacula-web: Added job endtime for last know good backup job in client report page X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=74b35d99bff5f5cffe665f07e6411297c2e3c202;p=bacula%2Fbacula bacula-web: Added job endtime for last know good backup job in client report page --- diff --git a/gui/bacula-web/client-report.php b/gui/bacula-web/client-report.php index 94c1a04b47..8211c66251 100644 --- a/gui/bacula-web/client-report.php +++ b/gui/bacula-web/client-report.php @@ -49,7 +49,7 @@ $client = $dbSql->getClientInfos($clientid); // Client's backup jobs - $query = 'SELECT Job.Name, Job.Jobid, Job.Level, Job.Jobbytes, Job.Jobfiles, Status.JobStatusLong FROM Job '; + $query = 'SELECT Job.Name, Job.Jobid, Job.Level, Job.Endtime, Job.Jobbytes, Job.Jobfiles, Status.JobStatusLong FROM Job '; $query .= "LEFT JOIN Status ON Job.JobStatus = Status.JobStatus "; $query .= "WHERE Job.ClientId = '$clientid' AND Job.JobStatus = 'T' "; $query .= 'ORDER BY Job.EndTime DESC '; diff --git a/gui/bacula-web/templates/client-report.tpl b/gui/bacula-web/templates/client-report.tpl index 96eb86a6fe..1d184372fd 100644 --- a/gui/bacula-web/templates/client-report.tpl +++ b/gui/bacula-web/templates/client-report.tpl @@ -38,6 +38,7 @@ Name Jod Id Level + End time Bytes Files Status @@ -47,6 +48,7 @@ {$job.name} {$job.jobid} {$job.level} + {$job.endtime} {$job.jobbytes} {$job.jobfiles} {$job.jobstatuslong}