forked from lix-project/hydra
Job page: Put latest builds on top
Also, rename the "Latest builds" tabs to prevent confusion.
This commit is contained in:
parent
098368c3e3
commit
5d3494011f
|
@ -137,6 +137,9 @@ BLOCK renderBuildListBody;
|
||||||
[% END %]
|
[% END %]
|
||||||
</tr>
|
</tr>
|
||||||
[% END;
|
[% END;
|
||||||
|
IF linkToAll %]
|
||||||
|
<td class="centered" colspan="5"><a href="[% linkToAll %]"><em>More...</em></a></td></tr>
|
||||||
|
[% END;
|
||||||
END;
|
END;
|
||||||
|
|
||||||
|
|
||||||
|
@ -431,7 +434,7 @@ BLOCK renderEvals %]
|
||||||
</tr>
|
</tr>
|
||||||
[% END;
|
[% END;
|
||||||
IF linkToAll %]
|
IF linkToAll %]
|
||||||
<tr><td class="centered" colspan="54"><a href="[% linkToAll %]"><em>All evaluations...</em></a></td></tr>
|
<tr><td class="centered" colspan="5"><a href="[% linkToAll %]"><em>More...</em></a></td></tr>
|
||||||
[% END %]
|
[% END %]
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -4,23 +4,24 @@
|
||||||
|
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="active"><a href="#tabs-status" data-toggle="tab">Status</a></li>
|
<li class="active"><a href="#tabs-status" data-toggle="tab">Status</a></li>
|
||||||
<li><a href="#tabs-latestbuilds" data-toggle="tab">Latest builds</a></li>
|
<li><a href="#tabs-links" data-toggle="tab">Links</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div id="generic-tabs" class="tab-content">
|
<div id="generic-tabs" class="tab-content">
|
||||||
|
|
||||||
<div id="tabs-status" class="tab-pane active">
|
<div id="tabs-status" class="tab-pane active">
|
||||||
|
[% IF lastBuilds.size != 0 %]
|
||||||
|
<h3>Lastest builds</h3>
|
||||||
|
[% INCLUDE renderBuildList builds=lastBuilds showStatusChange=0
|
||||||
|
linkToAll=c.uri_for('/job' project.name jobset.name job.name 'all') %]
|
||||||
|
[% END %]
|
||||||
[% IF queuedBuilds.size != 0 %]
|
[% IF queuedBuilds.size != 0 %]
|
||||||
<h3>Queued builds</h3>
|
<h3>Queued builds</h3>
|
||||||
[% INCLUDE renderBuildList builds=queuedBuilds showSchedulingInfo=1 hideResultInfo=1 %]
|
[% INCLUDE renderBuildList builds=queuedBuilds showSchedulingInfo=1 hideResultInfo=1 %]
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF lastBuilds.size != 0 %]
|
|
||||||
<h3>Last 10 builds</h3>
|
|
||||||
[% INCLUDE renderBuildList builds=lastBuilds showStatusChange=0 %]
|
|
||||||
[% END %]
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="tabs-latestbuilds" class="tab-pane">
|
<div id="tabs-links" class="tab-pane">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="[% c.uri_for('/job' project.name jobset.name job.name 'latest') %]">Latest successful build</a></li>
|
<li><a href="[% c.uri_for('/job' project.name jobset.name job.name 'latest') %]">Latest successful build</a></li>
|
||||||
[% FOREACH system IN systems %]
|
[% FOREACH system IN systems %]
|
||||||
|
|
Loading…
Reference in a new issue