From 239bad160f52c1f667b295c92f7dc33d22689f40 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 18 May 2010 07:19:52 +0000 Subject: [PATCH] Hydra/31: "Duration" field broken in cached builds that are not in DB anymore --- src/root/build.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/root/build.tt b/src/root/build.tt index 56656340..c61ab2ff 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -129,7 +129,7 @@ Duration: [% IF build.resultInfo.iscachedbuild %] - (cached from [% INCLUDE renderFullBuildLink build=cachedBuild %]) + (cached[% IF cachedBuild %] from [% INCLUDE renderFullBuildLink build=cachedBuild %][% END %]) [% ELSE %] [% INCLUDE renderDuration duration = build.resultInfo.stoptime - build.resultInfo.starttime %] finished at [% INCLUDE renderDateTime timestamp = build.resultInfo.stoptime %] [% END %]