forked from lix-project/hydra
Only show "Running build steps" if there are running build steps
This commit is contained in:
parent
2c6a38760b
commit
1e228267be
|
@ -160,9 +160,9 @@
|
||||||
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF !build.finished %]
|
[% IF !build.finished && build.buildsteps.size > 0 %]
|
||||||
[% INCLUDE renderBuildSteps type="Running" %]
|
[% INCLUDE renderBuildSteps type="Running" %]
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF build.finished %]
|
[% IF build.finished %]
|
||||||
[% IF build.buildsteps && build.buildstatus != 0 && build.buildstatus != 6 %]
|
[% IF build.buildsteps && build.buildstatus != 0 && build.buildstatus != 6 %]
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
<h1>Hydra Queue</h1>
|
<h1>Hydra Queue</h1>
|
||||||
|
|
||||||
<p>[ <a href="[% c.uri_for('/status') %]">Running buildsteps</a> ]</p>
|
<p>[ <a href="[% c.uri_for('/status') %]">Running build steps</a> ]</p>
|
||||||
|
|
||||||
[% IF flashMsg %]
|
[% IF flashMsg %]
|
||||||
<p class="error">[% flashMsg %]</p>
|
<p class="error">[% flashMsg %]</p>
|
||||||
|
|
Loading…
Reference in a new issue