Always show the links related to the build product.
This commit is contained in:
parent
444b03bad2
commit
666f398e98
|
@ -133,16 +133,11 @@
|
|||
<tr>
|
||||
<th>Links to latest:</th>
|
||||
<td>
|
||||
[% IF build.buildproducts.count > 1 %]
|
||||
[% uri2 = "${c.uri_for(latestRoot.join('/') 'download-by-type' product.type product.subtype)}" %]
|
||||
<a href="[% uri2 %]"><tt>[% uri2 %]</tt></a>
|
||||
<br />
|
||||
[% uri2 = "${c.uri_for(latestRoot.join('/') 'download' product.productnr)}" %]
|
||||
<a href="[% uri2 %]"><tt>[% uri2 %]</tt></a>
|
||||
[% ELSE %]
|
||||
[% uri2 = "${c.uri_for(latestRoot.join('/') 'download')}" %]
|
||||
<a href="[% uri2 %]"><tt>[% uri2 %]</tt></a>
|
||||
[% END %]
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue