Skip to content

Commit

Permalink
CCNET-1703 percentage ok bar shows red even if ok is 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenWillems committed Sep 18, 2009
1 parent 5dc817f commit fc16115
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions project/WebDashboard/templates/ProjectGrid.vm
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,14 @@
<td COLSPAN="10">
<table cellspacing="0" cellpadding="0" border="0" width="100%" >
<tr height=5 title="Percentage of successfull builds : $OKPercentToolTip%">
<td width=$OKPercent% bgcolor="#33CC00"> </td>
#if ($OKPercent == 50)
<td width=100% bgcolor="#33CC00"></td>
#else
<td width=$OKPercent% bgcolor="#33CC00"></td>
<td width=$NOKPercent% bgcolor="#FF0000"></td>
<td width=$NOKPercent% bgcolor="#FF0000"></td>
<td width=$OKPercent% bgcolor="#33CC00"> </td>
<td width=$OKPercent% bgcolor="#33CC00"></td>
#end
</tr>
</table>
</td>
Expand Down

0 comments on commit fc16115

Please sign in to comment.