]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Fixed fields casse in backupjob report template
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 27 Jun 2011 14:09:40 +0000 (16:09 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:17 +0000 (14:49 +0200)
gui/bacula-web/backupjob-report.php
gui/bacula-web/templates/backupjob-report.tpl

index e3fde54e33b6c4373a738356a15582e18a9505e0..197f185b408711f5c83780d6d2ec988dbd469880 100644 (file)
                $job['Level']       = $joblevel[ $job['Level'] ];
 
                // Job execution execution time
-               $job['ElapsedTime'] = CTimeUtils::Get_Elapsed_Time( $job['StartTime'], $job['EndTime'] );
+               $job['elapsedtime'] = CTimeUtils::Get_Elapsed_Time( $job['StartTime'], $job['EndTime'] );
 
                // odd and even row
                if( count($jobs) % 2)
index d58630f778cf2c1558962a4d5d4a8a46c58254d2..b36d71801ffa2f2100e2c72ea0ab212266408154 100644 (file)
                </tr>\r
                {foreach from=$jobs item=job}\r
                <tr>\r
-                       <td class="{$job.row_class}">{$job.JobId}</td>
-                       <td class="{$job.row_class}">{$job.Level}</td>
-                       <td class="{$job.row_class}">{$job.JobFiles}</td>
-                       <td class="{$job.row_class}">{$job.JobBytes}</td>
-                       <td class="{$job.row_class}">{$job.StartTime}</td>
-                       <td class="{$job.row_class}">{$job.EndTime}</td>
-                       <td class="{$job.row_class}">{$job.ElapsedTime}</td>
+                       <td class="{$job.row_class}">{$job.jobid}</td>
+                       <td class="{$job.row_class}">{$job.level}</td>
+                       <td class="{$job.row_class}">{$job.jobfiles}</td>
+                       <td class="{$job.row_class}">{$job.jobbytes}</td>
+                       <td class="{$job.row_class}">{$job.starttime}</td>
+                       <td class="{$job.row_class}">{$job.endtime}</td>
+                       <td class="{$job.row_class}">{$job.elapsedtime}</td>
                </tr>\r
                {/foreach}\r
        </table>\r