From 8e1ade442224463f370ab752d45181e6b2d8b0b6 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date: Thu, 15 Aug 2013 13:57:47 +0200
Subject: [PATCH] Fix display of non-aggregate builds

---
 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 11dd1b92..061e4afe 100644
--- a/src/root/build.tt
+++ b/src/root/build.tt
@@ -7,7 +7,7 @@
 [% project = build.project %]
 [% jobset = build.jobset %]
 [% job = build.job %]
-[% isAggregate = constituents ? 1 : 0 %]
+[% isAggregate = constituents.size > 0 %]
 
 [% BLOCK renderOutputs %]
   [% start=1; FOREACH output IN outputs %]