com web/qa: Fix error display: list_builds.php

From: Date: Mon, 07 Apr 2014 06:23:08 +0000
Subject: com web/qa: Fix error display: list_builds.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-67286@lists.php.net to get a copy of this message
Commit: 2e071f7a67ec97002da651d99bb83acb142a20dd Author: v-mafick@microsoft.com <v-mafick@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

« previous php.qa (#67286) next »