]> 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)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:19 +0000 (14:49 +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
        }