From 666f398e98e3c720ff11df69b76dcec77a6c15a8 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Thu, 16 May 2013 11:29:54 +0000 Subject: [PATCH] Always show the links related to the build product. --- src/root/product-list.tt | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/root/product-list.tt b/src/root/product-list.tt index 11d76229..2f511a4e 100644 --- a/src/root/product-list.tt +++ b/src/root/product-list.tt @@ -133,16 +133,11 @@ Links to latest: - [% IF build.buildproducts.count > 1 %] - [% uri2 = "${c.uri_for(latestRoot.join('/') 'download-by-type' product.type product.subtype)}" %] - [% uri2 %] -
- [% uri2 = "${c.uri_for(latestRoot.join('/') 'download' product.productnr)}" %] - [% uri2 %] - [% ELSE %] - [% uri2 = "${c.uri_for(latestRoot.join('/') 'download')}" %] - [% uri2 %] - [% END %] + [% uri2 = "${c.uri_for(latestRoot.join('/') 'download-by-type' product.type product.subtype)}" %] + [% uri2 %] +
+ [% uri2 = "${c.uri_for(latestRoot.join('/') 'download' product.productnr)}" %] + [% uri2 %] [% END %]