From c4d0ee44f0dacaf7e6eadeb988e3b43dfde6e334 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 4 Jan 2011 16:08:19 +0000 Subject: [PATCH] hydra: change icon for positive failures --- src/root/product-list.tt | 70 +++++++++++++++++++++++----------------- 1 file changed, 40 insertions(+), 30 deletions(-) diff --git a/src/root/product-list.tt b/src/root/product-list.tt index ba7aec5e..3630b31e 100644 --- a/src/root/product-list.tt +++ b/src/root/product-list.tt @@ -19,36 +19,46 @@ [% SWITCH product.type %] [% CASE "nix-build" %] - - - - [% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %] - - Source - One-click install of Nix package [% build.nixname %] - - [help, contents] -
-

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 application/nix-package MIME type associated - with the nix-install-package program in your web - browser. Alternatively, you can install it from the - command-line:

- -
$ nix-install-package --non-interactive --url [% uri %]
- -

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 root. - -

-
- - - - + [% IF build.resultInfo.buildstatus == 6 %] + + + + Source + Failed build produced output. Click here to inspect the output. + + + + + [% ELSE %] + + + [% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %] + + Source + One-click install of Nix package [% build.nixname %] + + [help, contents] +
+

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 application/nix-package MIME type associated + with the nix-install-package program in your web + browser. Alternatively, you can install it from the + command-line:

+ +
$ nix-install-package --non-interactive --url [% uri %]
+ +

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 root. + +

+
+ + + + [% END %]