From de194f38648c5186519e1e9788e39b74d0f5482b Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Mon, 17 Jan 2011 12:11:42 +0100 Subject: [PATCH] bacula-web: Removed useless last 24 hours elapsed time info in main dashboard --- gui/bacula-web/index.php | 6 +----- gui/bacula-web/templates/index.tpl | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) 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} -- 2.39.5