hydra: change icon for positive failures

[?]
Jan 4, 2011, 4:08 PM
GPRYAAFPVGMT7TMZILMR22FFUBB436CDM5GYVQJ7GL2H6J7WFH5QC

Dependencies

  • [2] ELABMHJI * hydra: layout changes
  • [3] NDL67SQT * XHTML validity.
  • [4] UHANDRAR * Closure downloads: don't include the product number; it's not needed.
  • [5] JFZNAYJX * Showing releases.
  • [6] XHVZXX6N
  • [7] NUIKDEHL * A quick hack to list the contents of various types of files (RPM,
  • [8] Y35C6GHH * One-click installs.
  • [9] SMM4HQTP * Put actions related to builds under /build (e.g. /log/<buildid>
  • [10] LBNVQXUB * Build the /build stuff in a separate controller.
  • [11] 5NO7NCKT * Refactoring.

Change contents

  • replacement in src/root/product-list.tt at line 22
    [3.3296][3.917:924](),[3.924][2.444:484](),[2.484][3.483:586](),[3.951][3.483:586](),[3.586][3.2319:2348](),[3.4132][3.2319:2348](),[3.2319][3.2319:2348](),[3.2348][3.1006:1157](),[3.1006][3.1006:1157](),[3.1157][3.1809:1918](),[3.1918][3.1227:1672](),[3.1227][3.1227:1672](),[3.1672][3.2438:2466](),[3.2466][3.1696:1707](),[3.1696][3.1696:1707](),[3.1707][3.2349:2426](),[3.2426][3.1810:1821](),[3.1810][3.1810:1821](),[3.1837][3.1837:2083](),[3.2083][2.485:511](),[2.511][3.2095:2096](),[3.2095][3.2095:2096]()
    <tr class="product">
    <td>
    [% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %]
    <a href="[% uri %]">
    <img src="/static/images/nix-build.png" alt="Source" />
    One-click install of Nix package <tt>[% build.nixname %]</tt>
    </a>
    [<a class="productDetailsToggle" href="javascript:">help</a>, <a href="[% contents %]">contents</a>]
    <div class="help productDetails">
    <p>If you have Nix installed on your machine, you can
    install this package and all its dependencies automatically
    by clicking on the link above. This requires that you have
    the <tt>application/nix-package</tt> MIME type associated
    with the <tt>nix-install-package</tt> program in your web
    browser. Alternatively, you can install it from the
    command-line:</p>
    <pre>$ nix-install-package --non-interactive --url [% uri %]</pre>
    <p>If you get an error message “Permission denied”, you
    should make sure that you have sufficient access rights to
    the Nix store, e.g., run the command as <tt>root</tt>.
    </p>
    </div>
    </td>
    </tr>
    [3.3296]
    [2.512]
    [% IF build.resultInfo.buildstatus == 6 %]
    <tr class="product">
    <td>
    <a href="[% contents %]">
    <img src="/static/images/error_32.png" alt="Source" />
    Failed build produced output. Click here to inspect the output.
    </a>
    </td>
    </tr>
    [% ELSE %]
    <tr class="product">
    <td>
    [% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %]
    <a href="[% uri %]">
    <img src="/static/images/nix-build.png" alt="Source" />
    One-click install of Nix package <tt>[% build.nixname %]</tt>
    </a>
    [<a class="productDetailsToggle" href="javascript:">help</a>, <a href="[% contents %]">contents</a>]
    <div class="help productDetails">
    <p>If you have Nix installed on your machine, you can
    install this package and all its dependencies automatically
    by clicking on the link above. This requires that you have
    the <tt>application/nix-package</tt> MIME type associated
    with the <tt>nix-install-package</tt> program in your web
    browser. Alternatively, you can install it from the
    command-line:</p>
    <pre>$ nix-install-package --non-interactive --url [% uri %]</pre>
    <p>If you get an error message “Permission denied”, you
    should make sure that you have sufficient access rights to
    the Nix store, e.g., run the command as <tt>root</tt>.
    </p>
    </div>
    </td>
    </tr>
    [% END %]