From: Davide Franco Date: Mon, 17 Jan 2011 11:11:42 +0000 (+0100) Subject: bacula-web: Removed useless last 24 hours elapsed time info in main dashboard X-Git-Tag: Release-5.2.1~556 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c444fbd8b0d7f937dafd342dd3fa5e801303c532;p=bacula%2Fbacula bacula-web: Removed useless last 24 hours elapsed time info in main dashboard --- diff --git a/gui/bacula-web/index.php b/gui/bacula-web/index.php index 6bb0026984..a393723a0e 100644 --- a/gui/bacula-web/index.php +++ b/gui/bacula-web/index.php @@ -95,10 +95,6 @@ $smarty->assign( 'total_name_jobs', $dbSql->Get_BackupJob_Names() ); // Get volumes list (volumes.tpl) $smarty->assign('pools', $dbSql->GetVolumeList() ); -// Last 24 hours completed jobs number (last_run_report.tpl) -//$completed_jobs = $dbSql->GetLastJobs(); -//$smarty->assign( 'completed_jobs', $completed_jobs['completed_jobs'] ); - // Last 24 hours completed jobs number (last_run_report.tpl) $smarty->assign( 'completed_jobs', $dbSql->CountJobs( LAST_DAY, 'completed' ) ); @@ -106,7 +102,7 @@ $smarty->assign( 'completed_jobs', $dbSql->CountJobs( LAST_DAY, 'completed' ) ); $smarty->assign( 'failed_jobs', $dbSql->CountJobs( LAST_DAY, 'failed' ) ); // Last 24 hours elapsed time (last_run_report.tpl) -$smarty->assign( 'elapsed_jobs', $dbSql->Get_ElapsedTime_Job() ); +//$smarty->assign( 'elapsed_jobs', $dbSql->Get_ElapsedTime_Job() ); // Last 24 hours Job status graph $data = array(); diff --git a/gui/bacula-web/templates/index.tpl b/gui/bacula-web/templates/index.tpl index 9f5338e487..b7387c5d5e 100644 --- a/gui/bacula-web/templates/index.tpl +++ b/gui/bacula-web/templates/index.tpl @@ -78,11 +78,13 @@ {$completed_jobs} View + Transferred Bytes {$bytes_totales}