This commit is contained in:
Eelco Dolstra 2008-10-28 10:32:31 +00:00
parent b250fa6094
commit 7ded8bbd15
3 changed files with 8 additions and 1 deletions

View file

@ -4,9 +4,16 @@
<h1>All builds</h1> <h1>All builds</h1>
<table> <table>
<tr><th>Id</th><th>Attribute name</th><th>Timestamp</th><th>Description</th></tr> <tr><th></th><th>Id</th><th>Attribute name</th><th>Timestamp</th><th>Description</th></tr>
[% FOREACH build IN builds -%] [% FOREACH build IN builds -%]
<tr> <tr>
<td>
[% IF build.buildstatus == 0 %]
<img src="static/images/success.gif" />
[% ELSE %]
<img src="static/images/failure.gif" />
[% END %]
</td>
<td><a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a></td> <td><a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a></td>
<td>[% build.name %]</td> <td>[% build.name %]</td>
<td>[% date.format(build.timestamp, '%Y-%m-%d %H:%M:%S') %]</td> <td>[% date.format(build.timestamp, '%Y-%m-%d %H:%M:%S') %]</td>

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B