hydra/src/root/job.tt

35 lines
1.2 KiB
Plaintext
Raw Normal View History

2013-02-22 11:00:32 +00:00
[% WRAPPER layout.tt title="Job $project.name:$jobset.name:$job.name" %]
[% PROCESS common.tt %]
[% hideProjectName=1 hideJobsetName=1 hideJobName=1 %]
2013-02-22 10:55:06 +00:00
<ul class="nav nav-tabs">
<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>
</ul>
<div id="generic-tabs" class="tab-content">
2013-01-22 13:41:02 +00:00
2013-02-22 10:55:06 +00:00
<div id="tabs-status" class="tab-pane active">
[% IF queuedBuilds.size != 0 %]
<h3>Queued builds</h3>
[% INCLUDE renderBuildList builds=queuedBuilds showSchedulingInfo=1 hideResultInfo=1 %]
2013-02-22 10:55:06 +00:00
[% END %]
[% IF lastBuilds.size != 0 %]
<h3>Last 10 builds</h3>
2013-02-22 10:55:06 +00:00
[% INCLUDE renderBuildList builds=lastBuilds showStatusChange=0 %]
[% END %]
</div>
<div id="tabs-latestbuilds" class="tab-pane">
<ul>
2013-02-22 11:00:32 +00:00
<li><a href="[% c.uri_for('/job' project.name jobset.name job.name 'latest') %]">Latest successful build</a></li>
2013-02-22 10:55:06 +00:00
[% FOREACH system IN systems %]
2013-02-22 11:00:32 +00:00
<li><a href="[% c.uri_for('/job' project.name jobset.name job.name 'latest-for' system.system) %]">Latest successful build for <tt>[% system.system %]</tt></a></li>
2013-02-22 10:55:06 +00:00
[% END %]
</ul>
</div>
</div>
[% END %]