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">
|
||||||
|
<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>
|
||||||
|
|
||||||
<tr class="product">
|
[% ELSE %]
|
||||||
<td>
|
<tr class="product">
|
||||||
[% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %]
|
<td>
|
||||||
<a href="[% uri %]">
|
[% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %]
|
||||||
<img src="/static/images/nix-build.png" alt="Source" />
|
<a href="[% uri %]">
|
||||||
One-click install of Nix package <tt>[% build.nixname %]</tt>
|
<img src="/static/images/nix-build.png" alt="Source" />
|
||||||
</a>
|
One-click install of Nix package <tt>[% build.nixname %]</tt>
|
||||||
[<a class="productDetailsToggle" href="javascript:">help</a>, <a href="[% contents %]">contents</a>]
|
</a>
|
||||||
<div class="help productDetails">
|
[<a class="productDetailsToggle" href="javascript:">help</a>, <a href="[% contents %]">contents</a>]
|
||||||
<p>If you have Nix installed on your machine, you can
|
<div class="help productDetails">
|
||||||
install this package and all its dependencies automatically
|
<p>If you have Nix installed on your machine, you can
|
||||||
by clicking on the link above. This requires that you have
|
install this package and all its dependencies automatically
|
||||||
the <tt>application/nix-package</tt> MIME type associated
|
by clicking on the link above. This requires that you have
|
||||||
with the <tt>nix-install-package</tt> program in your web
|
the <tt>application/nix-package</tt> MIME type associated
|
||||||
browser. Alternatively, you can install it from the
|
with the <tt>nix-install-package</tt> program in your web
|
||||||
command-line:</p>
|
browser. Alternatively, you can install it from the
|
||||||
|
command-line:</p>
|
||||||
|
|
||||||
<pre>$ nix-install-package --non-interactive --url [% uri %]</pre>
|
<pre>$ nix-install-package --non-interactive --url [% uri %]</pre>
|
||||||
|
|
||||||
<p>If you get an error message “Permission denied”, you
|
<p>If you get an error message “Permission denied”, you
|
||||||
should make sure that you have sufficient access rights to
|
should make sure that you have sufficient access rights to
|
||||||
the Nix store, e.g., run the command as <tt>root</tt>.
|
the Nix store, e.g., run the command as <tt>root</tt>.
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
[% END %]
|
||||||
<tr class="product">
|
<tr class="product">
|
||||||
<td>
|
<td>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue