Always show the build duration (using the cached build if necessary)

[?]
Feb 20, 2013, 4:07 PM
CAFO4ATEEGH75AMJ2CAE2FI6IUXAOY4TTJWIQHZFKKITUJGXXXTAC

Dependencies

  • [2] 2GUAKGTB Fix indentation of build.tt
  • [3] 3PNG7NIB Remove trailing whitespace
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • edit in src/root/build.tt at line 113
    [2.3350][2.3350:3614]()
    </tr>
    [% ELSE %]
    <tr>
    <th>Duration:</th>
    <td>[% INCLUDE renderDuration duration = build.stoptime - build.starttime %]; finished at [% INCLUDE renderDateTime timestamp = build.stoptime %]</td>
  • edit in src/root/build.tt at line 115
    [2.3656]
    [2.3656]
    <tr>
    <th>Duration:</th>
    <td>[% actualBuild = build.iscachedbuild ? cachedBuild : build;
    INCLUDE renderDuration duration = actualBuild.stoptime - actualBuild.starttime %]; finished at [% INCLUDE renderDateTime timestamp = actualBuild.stoptime
    %]</td>
    </tr>