]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Added job endtime for last know good backup job in client report page
authorDavide Franco <bacula-dev@dflc.ch>
Sun, 24 Jul 2011 16:55:24 +0000 (18:55 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:28 +0000 (14:49 +0200)
gui/bacula-web/client-report.php
gui/bacula-web/templates/client-report.tpl

index 94c1a04b47d5be2f20783409a4f972ba9598322c..8211c662519c7124b050348e7114ec4b85a40efc 100644 (file)
@@ -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 ';
index 96eb86a6fe2ac274251ebf46da3d3243b3b73add..1d184372fd0b2efec558dc3c8651990e3a8329cb 100644 (file)
@@ -38,6 +38,7 @@
                        <td class="tbl_header">Name</td>
                        <td class="tbl_header">Jod Id</td>
                        <td class="tbl_header">Level</td>
+                       <td class="tbl_header">End time</td>
                        <td class="tbl_header">Bytes</td>
                        <td class="tbl_header">Files</td>
                        <td class="tbl_header">Status</td>
@@ -47,6 +48,7 @@
                        <td class="{$job.Job_classe}">{$job.name}</td>
                        <td class="{$job.Job_classe}">{$job.jobid}</td>
                        <td class="{$job.Job_classe}">{$job.level}</td>
+                       <td class="{$job.Job_classe}">{$job.endtime}</td>
                        <td class="{$job.Job_classe}">{$job.jobbytes}</td>
                        <td class="{$job.Job_classe}">{$job.jobfiles}</td>
                        <td class="{$job.Job_classe}">{$job.jobstatuslong}</td>