From 5462be23d5eee00f8d03148cae98d0386e089893 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 26 Feb 2013 16:01:00 +0100 Subject: [PATCH] Don't show duration of unfinished builds --- src/root/build.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/root/build.tt b/src/root/build.tt index 12a4f357..550936d3 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -122,12 +122,14 @@ [% INCLUDE renderFullBuildLink build=cachedBuild %] [% END %] + [% IF build.finished %] Duration: [% actualBuild = build.iscachedbuild ? cachedBuild : build; INCLUDE renderDuration duration = actualBuild.stoptime - actualBuild.starttime %]; finished at [% INCLUDE renderDateTime timestamp = actualBuild.stoptime %] + [% END %] [% IF log_exists(build.drvpath) %] Logfile: