]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Converted Job bytes value
authorDavide Franco <bacula-dev@dflc.ch>
Tue, 5 Jul 2011 06:51:59 +0000 (08:51 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 2 Aug 2011 09:56:22 +0000 (11:56 +0200)
gui/bacula-web/backupjob-report.php

index de4436d140a750f51cc0d78b2d4378f875bad930..1a2b561c584795ce0b0e423b97e90455446da637 100644 (file)
                // odd and even row
                if( count($jobs) % 2)
                        $job['row_class'] = 'odd';
+               // Job bytes in human format
+               $job['jobbytes'] = CUtils::Get_Human_Size( $job['jobbytes'] );
 
                array_push( $jobs, $job);\r
        }