This commit is contained in:
Eelco Dolstra 2008-11-27 20:33:17 +00:00
parent 1810a13546
commit e4e7fac958
2 changed files with 4 additions and 3 deletions

View file

@ -2,7 +2,6 @@
[% PROCESS common.tt %] [% PROCESS common.tt %]
[% PROCESS "product-list.tt" %] [% PROCESS "product-list.tt" %]
[% USE HTML %] [% USE HTML %]
[% USE mibs=format("%.2f") %]
<h1> <h1>
Job <tt>[% build.project.name %]:[% build.attrname %]</tt> build [% id %] Job <tt>[% build.project.name %]:[% build.attrname %]</tt> build [% id %]

View file

@ -1,3 +1,5 @@
[% USE mibs=format("%.2f") %]
[% BLOCK renderProductList -%] [% BLOCK renderProductList -%]
<ul class="productList"> <ul class="productList">
@ -55,8 +57,8 @@
</td> </td>
</tr> </tr>
<tr><th>File size:</th><td>[% product.filesize %] bytes ([% mibs(product.filesize / (1024 * 1024)) %] MiB)</td></tr> <tr><th>File size:</th><td>[% product.filesize %] bytes ([% mibs(product.filesize / (1024 * 1024)) %] MiB)</td></tr>
<tr><th>SHA-1 hash:</th><td>[% product.sha1hash %]</td></tr> <tr><th>SHA-1 hash:</th><td><tt>[% product.sha1hash %]</tt></td></tr>
<tr><th>SHA-256 hash:</th><td>[% product.sha256hash %]</td></tr> <tr><th>SHA-256 hash:</th><td><tt>[% product.sha256hash %]</tt></td></tr>
<tr><th>Full path:</th><td><tt>[% product.path %]</tt></td></tr> <tr><th>Full path:</th><td><tt>[% product.path %]</tt></td></tr>
</table> </table>
</div> </div>