product-list: Handle channel along with "file".

[?]
Apr 26, 2015, 4:01 PM
KBIHF2RLCJFXFSPYKRAEK3TNRRGD5O3OJK5KXBLACBQ4YOO7LG4QC

Dependencies

  • [2] YVVIXELL Make channels a product type instead of subtype.
  • [3] 74VYRQ6W Add an icon for binary distributions
  • [4] GS4SFHCP templates: Use uri_for to reference static paths.
  • [5] LL36GPHA added help, removed nix closure from 'failed build with output' productlist
  • [6] SMM4HQTP * Put actions related to builds under /build (e.g. /log/<buildid>
  • [7] A4ZMBK7D * Icon for ISOs.
  • [8] NUIKDEHL * A quick hack to list the contents of various types of files (RPM,
  • [9] GPRYAAFP hydra: change icon for positive failures
  • [10] 3ZAJ2ZRP Use popovers for the product list help/details
  • [11] JREZM2S2 Add channel as a product type.
  • [12] Y35C6GHH * One-click installs.
  • [13] ELABMHJI * hydra: layout changes
  • [14] E3X3C5LK Replace ugly link with nice small buttons
  • [15] 3PNG7NIB Remove trailing whitespace
  • [16] JFZNAYJX * Showing releases.

Change contents

  • edit in src/root/product-list.tt at line 119
    [2.70][2.70:98](),[2.98][3.2227:2228](),[3.2227][3.2227:2228](),[3.2228][2.99:451]()
    [% CASE "channel" %]
    <tr class="product">
    <td>
    <a href="[% uri %]">
    <img src="[% c.uri_for("/static/images/channel.png") %]" alt="Channel" />
    Channel expression tarball <tt>[% product.name %]</tt>
    [% IF product.subtype != "-" %]for <tt>[% product.subtype %]</tt>[% END %]
    </a>
    </td>
    </tr>
  • replacement in src/root/product-list.tt at line 120
    [3.2494][3.4385:4409](),[3.4385][3.4385:4409]()
    [% CASE "file" %]
    [3.2124]
    [3.31302]
    [% CASE ["file", "channel"] %]
  • replacement in src/root/product-list.tt at line 139
    [3.4976][3.4976:5060]()
    File <tt>[% product.name %]</tt> of type <tt>[% product.subtype %]</tt>
    [3.4976]
    [3.5060]
    [% IF product.type == "channel" %]
    <img src="[% c.uri_for("/static/images/channel.png") %]" alt="Channel" />
    Channel expression tarball <tt>[% product.name %]</tt>
    [% IF product.subtype != "-" %]for <tt>[% product.subtype %]</tt>[% END %]
    [% ELSE %]
    File <tt>[% product.name %]</tt> of type <tt>[% product.subtype %]</tt>
    [% END %]