Hydra/31: "Duration" field broken in cached builds that are not in DB anymore

This commit is contained in:
Rob Vermaas 2010-05-18 07:19:52 +00:00
parent 56f05f2bdf
commit 239bad160f

View file

@ -129,7 +129,7 @@
<th>Duration:</th>
<td>
[% 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 %] <tt>finished at [% INCLUDE renderDateTime timestamp = build.resultInfo.stoptime %]</tt>
[% END %]