Don't use colspan=0, it doesn't work in all browsers

This commit is contained in:
Eelco Dolstra 2012-04-04 10:33:00 +00:00
parent 7734de5817
commit 05d03ee153

View file

@ -16,24 +16,24 @@ c.uri_for(c.controller('JobsetEval').action_for('view'),
[% INCLUDE renderBuildListBody builds=builds.slice(0, (size > max ? max : size) - 1) [% INCLUDE renderBuildListBody builds=builds.slice(0, (size > max ? max : size) - 1)
hideProjectName=1 hideJobsetName=1 %] hideProjectName=1 hideJobsetName=1 %]
[% IF size > max %] [% IF size > max %]
<tr><td class="centered" colspan="0"><a href="[% c.uri_for(c.controller('JobsetEval').action_for('view'), [eval.id], full => 1) %]"><em>([% size - max %] more builds omitted)</em></a></td></tr> <tr><td class="centered" colspan="6"><a href="[% c.uri_for(c.controller('JobsetEval').action_for('view'), [eval.id], full => 1) %]"><em>([% size - max %] more builds omitted)</em></a></td></tr>
[% END %] [% END %]
[% END %] [% END %]
[% INCLUDE renderBuildListHeader unsortable=1 %] [% INCLUDE renderBuildListHeader unsortable=1 %]
[% IF unfinished.size > 0 %] [% IF unfinished.size > 0 %]
<tr><th class="subheader" colspan="0"><strong>Queued</strong> jobs</th></tr> <tr><th class="subheader" colspan="6"><strong>Queued</strong> jobs</th></tr>
[% INCLUDE renderSome builds=unfinished %] [% INCLUDE renderSome builds=unfinished %]
[% END %] [% END %]
[% IF new.size > 0 %] [% IF new.size > 0 %]
<tr><th class="subheader" colspan="0"><strong>New</strong> jobs</th></tr> <tr><th class="subheader" colspan="6"><strong>New</strong> jobs</th></tr>
[% INCLUDE renderSome builds=new %] [% INCLUDE renderSome builds=new %]
[% END %] [% END %]
[% IF removed.size > 0 %] [% IF removed.size > 0 %]
<tr><th class="subheader" colspan="0"><strong>Removed</strong> jobs</th></tr> <tr><th class="subheader" colspan="6"><strong>Removed</strong> jobs</th></tr>
[% size = removed.size; max = full ? size : 30; %] [% size = removed.size; max = full ? size : 30; %]
[%- FOREACH j IN removed.slice(0,(size > max ? max : size) - 1) -%] [%- FOREACH j IN removed.slice(0,(size > max ? max : size) - 1) -%]
<tr> <tr>
@ -43,27 +43,27 @@ c.uri_for(c.controller('JobsetEval').action_for('view'),
</tr> </tr>
[%- END -%] [%- END -%]
[% IF size > max %] [% IF size > max %]
<tr><td class="centered" colspan="0"><a href="[% c.uri_for(c.controller('JobsetEval').action_for('view'), [eval.id], full => 1) %]"><em>([% size - max %] more jobs omitted)</em></a></td></tr> <tr><td class="centered" colspan="6"><a href="[% c.uri_for(c.controller('JobsetEval').action_for('view'), [eval.id], full => 1) %]"><em>([% size - max %] more jobs omitted)</em></a></td></tr>
[% END %] [% END %]
[% END %] [% END %]
[% IF nowFail.size > 0 %] [% IF nowFail.size > 0 %]
<tr><th class="subheader" colspan="0">Jobs that now <strong>fail</strong></th></tr> <tr><th class="subheader" colspan="6">Jobs that now <strong>fail</strong></th></tr>
[% INCLUDE renderSome builds=nowFail %] [% INCLUDE renderSome builds=nowFail %]
[% END %] [% END %]
[% IF nowSucceed.size > 0 %] [% IF nowSucceed.size > 0 %]
<tr><th class="subheader" colspan="0">Jobs that now <strong>succeed</strong></th></tr> <tr><th class="subheader" colspan="6">Jobs that now <strong>succeed</strong></th></tr>
[% INCLUDE renderSome builds=nowSucceed %] [% INCLUDE renderSome builds=nowSucceed %]
[% END %] [% END %]
[% IF stillFail.size > 0 %] [% IF stillFail.size > 0 %]
<tr><th class="subheader" colspan="0">Jobs that still <strong>fail</strong></th></tr> <tr><th class="subheader" colspan="6">Jobs that still <strong>fail</strong></th></tr>
[% INCLUDE renderSome builds=stillFail %] [% INCLUDE renderSome builds=stillFail %]
[% END %] [% END %]
[% IF stillSucceed.size > 0 %] [% IF stillSucceed.size > 0 %]
<tr><th class="subheader" colspan="0">Jobs that still <strong>succeed</strong></th></tr> <tr><th class="subheader" colspan="6">Jobs that still <strong>succeed</strong></th></tr>
[% INCLUDE renderSome builds=stillSucceed %] [% INCLUDE renderSome builds=stillSucceed %]
[% END %] [% END %]