diff --git a/src/root/build.tt b/src/root/build.tt
index 61a846bb..66587eca 100644
--- a/src/root/build.tt
+++ b/src/root/build.tt
@@ -524,19 +524,29 @@ END;
[% IF runcommandlog.start_time != undef %]
Started at [% INCLUDE renderDateTime timestamp = runcommandlog.start_time; %]
- [% IF runcommandlog.end_time != undef %]
-
Ran for [% INCLUDE renderDuration duration = runcommandlog.end_time - runcommandlog.start_time %]
- [% IF runcommandlog.uuid != undef %]
-  â€”
Logs
- [% END %]
-
- [% ELSE %]
-
Running for [% INCLUDE renderDuration duration = curTime - runcommandlog.start_time %]
- [% IF runcommandlog.uuid != undef %]
-  â€”
Logs
- [% END %]
-
- [% 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 %]
+
[% ELSE %]
Pending
[% END %]