From 63acc9fb1cb3fd62f086f18ecc2a7b6171bf5817 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 23 Feb 2010 13:47:24 +0000 Subject: [PATCH] * hydra: do not show build history if there are no previous builds --- src/root/build.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/root/build.tt b/src/root/build.tt index 0007e62d..3e2aef95 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -89,7 +89,7 @@
  • Build Inputs
  • [% IF build.buildsteps %]
  • Build Steps
  • [% END %] [% IF build.dependents %]
  • Used by
  • [% END%] -
  • History chart
  • + [% IF prevBuilds %]
  • History chart
  • [% END %]
    @@ -434,7 +434,7 @@
    [% END %] - +[% IF prevBuilds %]

    Build time history (in seconds)

    @@ -513,6 +513,7 @@
    +[% END %]