Remove more dead code
This commit is contained in:
parent
ed132cf1fc
commit
97c76f34df
|
@ -67,9 +67,6 @@ BLOCK renderBuildListHeader %]
|
||||||
<th>Release name</th>
|
<th>Release name</th>
|
||||||
<th>System</th>
|
<th>System</th>
|
||||||
<th>[% IF showSchedulingInfo %]Queued at[% ELSE %]Finished at[% END %]</th>
|
<th>[% IF showSchedulingInfo %]Queued at[% ELSE %]Finished at[% END %]</th>
|
||||||
[% IF showStatusChange %]
|
|
||||||
<th class="headerSortUp">Last status change</th>
|
|
||||||
[% END %]
|
|
||||||
[% IF showDescription %]
|
[% IF showDescription %]
|
||||||
<th>Description</th>
|
<th>Description</th>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
@ -100,17 +97,6 @@ BLOCK renderBuildListBody;
|
||||||
<td>[% !showSchedulingInfo and build.get_column('releasename') ? build.get_column('releasename') : build.nixname %]</td>
|
<td>[% !showSchedulingInfo and build.get_column('releasename') ? build.get_column('releasename') : build.nixname %]</td>
|
||||||
<td class="nowrap"><tt>[% build.system %]</tt></td>
|
<td class="nowrap"><tt>[% build.system %]</tt></td>
|
||||||
<td class="nowrap">[% t = showSchedulingInfo ? build.timestamp : build.stoptime; IF t; date.format(showSchedulingInfo ? build.timestamp : build.stoptime, '%Y-%m-%d %H:%M:%S'); ELSE; "-"; END %]</td>
|
<td class="nowrap">[% t = showSchedulingInfo ? build.timestamp : build.stoptime; IF t; date.format(showSchedulingInfo ? build.timestamp : build.stoptime, '%Y-%m-%d %H:%M:%S'); ELSE; "-"; END %]</td>
|
||||||
[% IF showStatusChange %]
|
|
||||||
<td>
|
|
||||||
[% IF build.get_column('statusChangeTime') %]
|
|
||||||
<a href="[% c.uri_for('/build' build.get_column('statusChangeId')) %]">
|
|
||||||
[% date.format(build.get_column('statusChangeTime'), '%Y-%m-%d %H:%M:%S') %]
|
|
||||||
</a>
|
|
||||||
[% ELSE %]
|
|
||||||
<em>never</em>
|
|
||||||
[% END %]
|
|
||||||
</td>
|
|
||||||
[% END %]
|
|
||||||
[% IF showDescription %]
|
[% IF showDescription %]
|
||||||
<td>[% build.description %]</td>
|
<td>[% build.description %]</td>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<div id="tabs-status" class="tab-pane active">
|
<div id="tabs-status" class="tab-pane active">
|
||||||
[% IF lastBuilds.size != 0 %]
|
[% IF lastBuilds.size != 0 %]
|
||||||
<h3>Lastest builds</h3>
|
<h3>Lastest builds</h3>
|
||||||
[% INCLUDE renderBuildList builds=lastBuilds showStatusChange=0
|
[% INCLUDE renderBuildList builds=lastBuilds
|
||||||
linkToAll=c.uri_for('/job' project.name jobset.name job.name 'all') %]
|
linkToAll=c.uri_for('/job' project.name jobset.name job.name 'all') %]
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF queuedBuilds.size != 0 %]
|
[% IF queuedBuilds.size != 0 %]
|
||||||
|
|
Loading…
Reference in a new issue