Only show "Running build steps" if there are running build steps

This commit is contained in:
Eelco Dolstra 2012-04-15 20:12:35 +00:00
parent 2c6a38760b
commit 1e228267be
2 changed files with 3 additions and 3 deletions

View file

@ -160,7 +160,7 @@
[% END %] [% END %]
[% IF !build.finished %] [% IF !build.finished && build.buildsteps.size > 0 %]
[% INCLUDE renderBuildSteps type="Running" %] [% INCLUDE renderBuildSteps type="Running" %]
[% END %] [% END %]

View file

@ -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>