diff --git a/src/root/product-list.tt b/src/root/product-list.tt index 2f511a4e..78951dd6 100644 --- a/src/root/product-list.tt +++ b/src/root/product-list.tt @@ -1,5 +1,24 @@ [% USE mibs=format("%.2f") %] +[% BLOCK renderProductLinks %] + + URL: + [% uri %] + + [% IF latestRoot %] + + Links to latest: + + [% 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 %] +[% END %] + [% BLOCK renderProductList %] @@ -125,22 +144,7 @@ [% WRAPPER makePopover title="Details" classes="btn-mini" %]
- - - - - [% IF latestRoot %] - - - - - [% END %] + [% INCLUDE renderProductLinks %] @@ -188,6 +192,11 @@ Documentation of type [% product.subtype %] [% END %] + [% WRAPPER makePopover title="Details" classes="btn-mini" %] +
URL:[% uri %]
Links to latest: - [% uri2 = "${c.uri_for(latestRoot.join('/') 'download-by-type' product.type product.subtype)}" %] - [% uri2 %] -
- [% uri2 = "${c.uri_for(latestRoot.join('/') 'download' product.productnr)}" %] - [% uri2 %] -
File size:[% product.filesize %] bytes ([% mibs(product.filesize / (1024 * 1024)) %] MiB)
SHA-1 hash:[% product.sha1hash %]
SHA-256 hash:[% product.sha256hash %]
+ [% INCLUDE renderProductLinks %] +
+ [% END %]