diff --git a/src/root/build.tt b/src/root/build.tt
index 66587eca..0848da4a 100644
--- a/src/root/build.tt
+++ b/src/root/build.tt
@@ -527,24 +527,16 @@ END;
[% IF runcommandlog.end_time != undef %]
Ran for [% INCLUDE renderDuration duration = runcommandlog.end_time - runcommandlog.start_time %]
- [% IF runcommandlog.uuid != undef %]
- [% runLog = c.uri_for('/build', build.id, 'runcommandlog', runcommandlog.uuid) %]
-
- [% END %]
[% ELSE %]
Running for [% INCLUDE renderDuration duration = curTime - runcommandlog.start_time %]
- [% IF runcommandlog.uuid != undef %]
- [% runLog = c.uri_for('/build', build.id, 'runcommandlog', runcommandlog.uuid) %]
-
- [% END %]
+ [% END %]
+ [% IF runcommandlog.uuid != undef %]
+ [% runLog = c.uri_for('/build', build.id, 'runcommandlog', runcommandlog.uuid) %]
+
[% END %]
[% ELSE %]