Different icons (darker red) for cancelled builds. Fixes #25.

This commit is contained in:
Rob Vermaas
2012-05-25 04:14:36 +02:00
parent d1da9a8823
commit 75277311ac
6 changed files with 12 additions and 9 deletions

View File

@ -246,7 +246,7 @@
[%- ELSIF buildstatus == 2 -%]
<img src="/static/images/dependency_[% size %].png" alt="Dependency failed" />
[%- ELSIF buildstatus == 4 -%]
<img src="/static/images/error_[% size %].png" alt="Failed" />
<img src="/static/images/cancelled_[% size %].png" alt="Cancelled" />
[%- ELSIF buildstatus == 5 -%]
<img src="/static/images/error_[% size %].png" alt="Failed" />
[%- ELSIF buildstatus == 6 -%]
@ -416,13 +416,15 @@
[% END %]
[% BLOCK renderShortRev -%]
[%- IF type == "svn" || type == "svn-checkout" || type == "bzr" || type == "bzr-checkout" -%]
[% BLOCK renderShortEval -%]
[%- IF input.type == "svn" || input.type == "svn-checkout" || input.type == "bzr" || input.type == "bzr-checkout" -%]
r[%- revision -%]
[%- ELSIF type == "git" -%]
<tt>[% revision.substr(0, 7) %]</tt>
[%- ELSIF input.type == "git" -%]
<tt>[% input.revision.substr(0, 7) %]</tt>
[%- ELSIF input.type == "build" || input.type == "sysbuild" -%]
<tt>[% input.dependency.id %]</tt>
[%- ELSE -%]
<tt>[%- revision -%]</tt>
<tt>[%- input.revision -%]</tt>
[%- END -%]
[%- END %]
@ -446,7 +448,7 @@
<td>
[%- IF e.changedInputs.size > 0 -%]
[%- sep=''; FOREACH input IN e.changedInputs -%]
[%- sep %] [% input.name %] → [% INCLUDE renderShortRev type=input.type revision=input.revision %]
[%- sep %] [% input.name %] → [% INCLUDE renderShortEval input=input %]
[%- sep=','; END -%]
[%- ELSE -%]
-

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB