Commit: 2e071f7a67ec97002da651d99bb83acb142a20dd Author: v-maf...@microsoft.com <v-maf...@microsoft.com> Sun, 6 Apr 2014 23:23:08 -0700 Parents: 34fe185efd6bef01eed5d8af39502afdf8092341 Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=2e071f7a67ec97002da651d99bb83acb142a20dd Log: Fix error display Changed paths: M list_builds.php Diff: diff --git a/list_builds.php b/list_builds.php index f49f040..1b058c4 100755 --- a/list_builds.php +++ b/list_builds.php @@ -55,17 +55,17 @@ $red = is_file(BASE_REPORT_DIR."/$branch/$latest_revision/FAIL_CRASH.txt"); </tr> </table> <br/> -<table class="pftt" style="background:<?php echo $red ? '#ff0000' : '#ccff66'; ?>"> +<table class="pftt"> <?php foreach ( scandir(BASE_REPORT_DIR."/$branch") as $revision ) { if ($revision=="." or $revision=="..") continue; if (is_dir(BASE_REPORT_DIR."/$branch/$revision")) { - + $red = is_file(BASE_REPORT_DIR."/$branch/$revision/FAIL_CRASH.txt"); ?> - <tr> + <tr style="background:<?php echo $red ? '#ff0000' : '#ccff66'; ?>"> <td><a href="build.php?branch=<?php echo $branch; ?>&revision=<?php echo $revision; ?>"><?php echo $revision; ?></a></td> </tr> <?php -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php