forked from lix-project/hydra
Remove more dead code
This commit is contained in:
parent
ed132cf1fc
commit
97c76f34df
|
@ -67,9 +67,6 @@ BLOCK renderBuildListHeader %]
|
|||
<th>Release name</th>
|
||||
<th>System</th>
|
||||
<th>[% IF showSchedulingInfo %]Queued at[% ELSE %]Finished at[% END %]</th>
|
||||
[% IF showStatusChange %]
|
||||
<th class="headerSortUp">Last status change</th>
|
||||
[% END %]
|
||||
[% IF showDescription %]
|
||||
<th>Description</th>
|
||||
[% END %]
|
||||
|
@ -100,17 +97,6 @@ BLOCK renderBuildListBody;
|
|||
<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">[% 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 %]
|
||||
<td>[% build.description %]</td>
|
||||
[% END %]
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<div id="tabs-status" class="tab-pane active">
|
||||
[% IF lastBuilds.size != 0 %]
|
||||
<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') %]
|
||||
[% END %]
|
||||
[% IF queuedBuilds.size != 0 %]
|
||||
|
|
Loading…
Reference in a new issue