hydra: change icon for positive failures

This commit is contained in:
Rob Vermaas 2011-01-04 16:08:19 +00:00
parent 80e9bb01f0
commit c4d0ee44f0

View file

@ -19,7 +19,17 @@
[% SWITCH product.type %] [% SWITCH product.type %]
[% CASE "nix-build" %] [% CASE "nix-build" %]
[% IF build.resultInfo.buildstatus == 6 %]
<tr class="product">
<td>
<a href="[% contents %]">
<img src="/static/images/error_32.png" alt="Source" />
Failed build produced output. Click here to inspect the output.
</a>
</td>
</tr>
[% ELSE %]
<tr class="product"> <tr class="product">
<td> <td>
[% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %] [% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %]
@ -48,7 +58,7 @@
</td> </td>
</tr> </tr>
[% END %]
<tr class="product"> <tr class="product">
<td> <td>