From 1e228267beb86cac7053b75557e94a98449e9d2b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 15 Apr 2012 20:12:35 +0000 Subject: [PATCH] Only show "Running build steps" if there are running build steps --- src/root/build.tt | 4 ++-- src/root/queue.tt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/root/build.tt b/src/root/build.tt index 42ddc969..50df3fdd 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -160,9 +160,9 @@ [% END %] - [% IF !build.finished %] + [% IF !build.finished && build.buildsteps.size > 0 %] [% INCLUDE renderBuildSteps type="Running" %] - [% END %] + [% END %] [% IF build.finished %] [% IF build.buildsteps && build.buildstatus != 0 && build.buildstatus != 6 %] diff --git a/src/root/queue.tt b/src/root/queue.tt index f0c5aa12..58a3d00b 100644 --- a/src/root/queue.tt +++ b/src/root/queue.tt @@ -3,7 +3,7 @@

Hydra Queue

-

[ Running buildsteps ]

+

[ Running build steps ]

[% IF flashMsg %]

[% flashMsg %]