]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Removed useless last 24 hours elapsed time info in main dashboard
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 17 Jan 2011 11:11:42 +0000 (12:11 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 3 Mar 2011 09:39:29 +0000 (10:39 +0100)
gui/bacula-web/index.php
gui/bacula-web/templates/index.tpl

index 6bb00269845d555c2686ba7458223a89c0f4b72e..a393723a0e97dc6ad83ee7fb5caa40730ae5301b 100644 (file)
@@ -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();  
index 9f5338e487ed6bd321e424f88c5600b84e224a80..b7387c5d5e1cd403c7ba16a6961027ee79c748cf 100644 (file)
                                <td class="info">{$completed_jobs}</td>
                                <td class="info"> <a href="jobs.php" title="View last completed jobs">View</a> </td>
                        </tr> 
+                       <!--
                        <tr>
                                <td class="label">Elapsed time</td> 
                                <td class="info">{$elapsed_jobs}</td>
                                <td class="info"> <a href="#" title="View report">View</a> </td>
                        </tr>
+                       -->
                        <tr>
                                <td class="label">Transferred Bytes</td> 
                                <td class="info">{$bytes_totales}</td>