* Queue runner: don't start scheduled builds builds if they belong to

a disabled project.  Idem for the queue page.
This commit is contained in:
Eelco Dolstra
2008-11-30 18:53:58 +00:00
parent 4f2b47bb0e
commit e686979e55
4 changed files with 13 additions and 7 deletions

View File

@@ -38,7 +38,7 @@
</thead>
<tbody>
[% FOREACH build IN builds -%]
<tr class="clickable [% IF build.schedulingInfo.busy %]runningJob[% END %]"
<tr class="clickable [% IF build.schedulingInfo.busy %]runningBuild[% END %] [% IF build.schedulingInfo.disabled == 1 || build.project.enabled == 0 %]disabledBuild[% END %]"
onclick="window.location = '[% c.uri_for('/build' build.id) %]'">
[% IF !hideResultInfo %]
<td>