Always show the links related to the build product.

[?]
May 16, 2013, 11:29 AM
GDCB4LBPQGEHG47ZMJ3NRPSXXLU2SHCMVSSWAZE34MNZ32DIWCTQC

Dependencies

  • [2] RRCGVQLW Revert sorting build products
  • [3] SMM4HQTP * Put actions related to builds under /build (e.g. /log/<buildid>
  • [4] MAOFG2TD * Allow omitting the product number if there is only one product in a
  • [5] XJFHFZCA * Provide some redirects to build products by type so that we can for
  • [6] JFZNAYJX * Showing releases.
  • [7] H3DLVNCJ * Support redirecting to some job of a release. For instance, this

Change contents

  • replacement in src/root/product-list.tt at line 136
    [3.5285][2.51:106](),[2.106][3.368:927](),[3.368][3.368:927]()
    [% 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 %]
    [3.5285]
    [3.5498]
    [% 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>