used wrong builds collection for determining if we need to show current build section in job page

This commit is contained in:
Rob Vermaas 2011-11-16 15:21:53 -05:00
parent c8127b887f
commit 43198e9353

View file

@ -17,7 +17,7 @@
<!-- <li><a href="#tabs-statistics">Statistics</a></li> --> <!-- <li><a href="#tabs-statistics">Statistics</a></li> -->
</ul> </ul>
<div id="tabs-status"> <div id="tabs-status">
[% IF runningBuilds.size == 0 %] [% IF currentBuilds.size == 0 %]
<h2>Latest builds (latest evaluation)</h2> <h2>Latest builds (latest evaluation)</h2>
[% INCLUDE renderBuildList builds=currentBuilds showStatusChange=0 %] [% INCLUDE renderBuildList builds=currentBuilds showStatusChange=0 %]
[% END %] [% END %]