]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: JobFiles detail added in job list (jobs.php)
authorDavide Franco <bacula-dev@dflc.ch>
Fri, 14 Jan 2011 15:47:58 +0000 (16:47 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 3 Mar 2011 09:39:29 +0000 (10:39 +0100)
gui/bacula-web/jobs.php
gui/bacula-web/templates/jobs.tpl

index cc41205559a5c3283a88039c43fa4db10e9f268d..f085d3bf01f01d9dd65afc85619de47d5ac47600 100644 (file)
@@ -30,7 +30,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, Pool.Name, Job.JobStatus, Pool.Name AS Pool_name, Status.JobStatusLong ";
+  $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 .= "FROM Job ";
   $query .= "LEFT JOIN Pool ON Job.PoolId=Pool.PoolId ";
   $query .= "LEFT JOIN Status ON Job.JobStatus = Status.JobStatus ";
index 0adeb0b96cc49eeea37cbab56ca417fb31dff607..b10e01045699399f24d7b7d06bcc997031af9afb 100644 (file)
@@ -78,6 +78,7 @@
                <td class="info">Elapsed time</td>
                <td class="info">Level</td>
                <td class="info">Bytes</td>
+               <td class="info">Files</td>
                <td class="info">Pool</td>
          </tr>
        <!-- <div class="listbox"> -->
@@ -93,6 +94,7 @@
                <td class="{$job.Job_classe}">{$job.elapsed_time}</td>
                <td class="{$job.Job_classe}">{$job.Level}</td>
                <td class="{$job.Job_classe}">{$job.JobBytes}</td>
+               <td class="{$job.Job_classe}">{$job.JobFiles}</td>
                <td class="{$job.Job_classe}">{$job.Pool_name}</td>
          </tr>
          {/foreach}