From: Davide Franco Date: Mon, 27 Jun 2011 14:09:40 +0000 (+0200) Subject: bacula-web: Fixed fields casse in backupjob report template X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fd13ae7295c93678d74ee375bd0c3c3d4b8691b4;p=bacula%2Fbacula bacula-web: Fixed fields casse in backupjob report template --- diff --git a/gui/bacula-web/backupjob-report.php b/gui/bacula-web/backupjob-report.php index e3fde54e33..197f185b40 100644 --- a/gui/bacula-web/backupjob-report.php +++ b/gui/bacula-web/backupjob-report.php @@ -103,7 +103,7 @@ $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) diff --git a/gui/bacula-web/templates/backupjob-report.tpl b/gui/bacula-web/templates/backupjob-report.tpl index d58630f778..b36d71801f 100644 --- a/gui/bacula-web/templates/backupjob-report.tpl +++ b/gui/bacula-web/templates/backupjob-report.tpl @@ -54,13 +54,13 @@ {foreach from=$jobs item=job} - {$job.JobId} - {$job.Level} - {$job.JobFiles} - {$job.JobBytes} - {$job.StartTime} - {$job.EndTime} - {$job.ElapsedTime} + {$job.jobid} + {$job.level} + {$job.jobfiles} + {$job.jobbytes} + {$job.starttime} + {$job.endtime} + {$job.elapsedtime} {/foreach}