* Allow a view result to be saved as a release.

This commit is contained in:
Eelco Dolstra
2009-10-27 15:31:26 +00:00
parent 9aa70716ad
commit 3e5e49debd
4 changed files with 43 additions and 4 deletions

View File

@ -111,6 +111,7 @@
<th>URL:</th>
<td><a href="[% uri %]"><tt>[% uri %]</tt></a></td>
</tr>
[% IF latestRoot %]
<tr>
<th>Links to latest:</th>
<td>
@ -126,6 +127,7 @@
[% END %]
</td>
</tr>
[% END %]
<tr><th>File size:</th><td>[% product.filesize %] bytes ([% mibs(product.filesize / (1024 * 1024)) %] MiB)</td></tr>
<tr><th>SHA-1 hash:</th><td><tt>[% product.sha1hash %]</tt></td></tr>
<tr><th>SHA-256 hash:</th><td><tt>[% product.sha256hash %]</tt></td></tr>

View File

@ -23,7 +23,7 @@ release.timestamp %].</em></p>
</a>
</h2>
[% INCLUDE renderProductList build=m.build latestRoot=['/view!!!' project.name view.name 'latest' j.job.job] %]
[% INCLUDE renderProductList build=m.build %]
[% END %]

View File

@ -42,4 +42,10 @@
[% END %]
[% IF c.user_exists %]
<p>
[<a href="[% c.uri_for('/view' project.name view.name result.id 'release') %]">Release</a>]
</p>
[% END %]
[% END %]