forked from lix-project/hydra
hydra: change icon for positive failures
This commit is contained in:
parent
80e9bb01f0
commit
c4d0ee44f0
|
@ -19,36 +19,46 @@
|
||||||
[% SWITCH product.type %]
|
[% SWITCH product.type %]
|
||||||
|
|
||||||
[% CASE "nix-build" %]
|
[% CASE "nix-build" %]
|
||||||
|
[% IF build.resultInfo.buildstatus == 6 %]
|
||||||
<tr class="product">
|
<tr class="product">
|
||||||
<td>
|
<td>
|
||||||
[% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %]
|
<a href="[% contents %]">
|
||||||
<a href="[% uri %]">
|
<img src="/static/images/error_32.png" alt="Source" />
|
||||||
<img src="/static/images/nix-build.png" alt="Source" />
|
Failed build produced output. Click here to inspect the output.
|
||||||
One-click install of Nix package <tt>[% build.nixname %]</tt>
|
</a>
|
||||||
</a>
|
</td>
|
||||||
[<a class="productDetailsToggle" href="javascript:">help</a>, <a href="[% contents %]">contents</a>]
|
</tr>
|
||||||
<div class="help productDetails">
|
|
||||||
<p>If you have Nix installed on your machine, you can
|
[% ELSE %]
|
||||||
install this package and all its dependencies automatically
|
<tr class="product">
|
||||||
by clicking on the link above. This requires that you have
|
<td>
|
||||||
the <tt>application/nix-package</tt> MIME type associated
|
[% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %]
|
||||||
with the <tt>nix-install-package</tt> program in your web
|
<a href="[% uri %]">
|
||||||
browser. Alternatively, you can install it from the
|
<img src="/static/images/nix-build.png" alt="Source" />
|
||||||
command-line:</p>
|
One-click install of Nix package <tt>[% build.nixname %]</tt>
|
||||||
|
</a>
|
||||||
<pre>$ nix-install-package --non-interactive --url [% uri %]</pre>
|
[<a class="productDetailsToggle" href="javascript:">help</a>, <a href="[% contents %]">contents</a>]
|
||||||
|
<div class="help productDetails">
|
||||||
<p>If you get an error message “Permission denied”, you
|
<p>If you have Nix installed on your machine, you can
|
||||||
should make sure that you have sufficient access rights to
|
install this package and all its dependencies automatically
|
||||||
the Nix store, e.g., run the command as <tt>root</tt>.
|
by clicking on the link above. This requires that you have
|
||||||
|
the <tt>application/nix-package</tt> MIME type associated
|
||||||
</p>
|
with the <tt>nix-install-package</tt> program in your web
|
||||||
</div>
|
browser. Alternatively, you can install it from the
|
||||||
|
command-line:</p>
|
||||||
</td>
|
|
||||||
</tr>
|
<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 %]
|
||||||
<tr class="product">
|
<tr class="product">
|
||||||
<td>
|
<td>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue