forked from lix-project/hydra
* hydra: show queue optimization
This commit is contained in:
parent
c791485099
commit
7315480acd
|
@ -88,7 +88,7 @@
|
||||||
[% FOREACH build IN builds -%]
|
[% FOREACH build IN builds -%]
|
||||||
<tr class="clickable
|
<tr class="clickable
|
||||||
[% IF showSchedulingInfo -%]
|
[% IF showSchedulingInfo -%]
|
||||||
[% IF build.schedulingInfo.busy %]runningBuild[% ELSIF build.schedulingInfo.disabled == 1 || build.project.enabled == 0 %]disabledBuild[% END %]
|
[% IF build.get_column('busy') %]runningBuild[% ELSIF build.get_column('disabled') == 1 || build.get_column('enabled') == 0 %]disabledBuild[% END %]
|
||||||
[% ELSE -%]
|
[% ELSE -%]
|
||||||
[% IF odd %] odd [% END; odd = !odd -%]
|
[% IF odd %] odd [% END; odd = !odd -%]
|
||||||
[% END %]"
|
[% END %]"
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
[% END %]
|
[% END %]
|
||||||
<td><a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a></td>
|
<td><a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a></td>
|
||||||
[% IF showSchedulingInfo %]
|
[% IF showSchedulingInfo %]
|
||||||
<td>[% build.schedulingInfo.priority %]</td>
|
<td>[% build.get_column('priority') %]</td>
|
||||||
[% END %]
|
[% END %]
|
||||||
<td>
|
<td>
|
||||||
[% INCLUDE renderFullJobNameOfBuild %]
|
[% INCLUDE renderFullJobNameOfBuild %]
|
||||||
|
|
Loading…
Reference in a new issue