Job page: Remove channel tab
This commit is contained in:
parent
0f10a37894
commit
1643d90d92
|
@ -1,10 +1,9 @@
|
||||||
[% WRAPPER layout.tt title="Job ‘$project.name:$jobset.name:$job.name’" %]
|
[% WRAPPER layout.tt title="Job $project.name:$jobset.name:$job.name" %]
|
||||||
[% PROCESS common.tt %]
|
[% PROCESS common.tt %]
|
||||||
[% hideProjectName=1 hideJobsetName=1 hideJobName=1 %]
|
[% hideProjectName=1 hideJobsetName=1 hideJobName=1 %]
|
||||||
|
|
||||||
<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-channels" data-toggle="tab">Channels</a></li>
|
|
||||||
<li><a href="#tabs-latestbuilds" data-toggle="tab">Latest builds</a></li>
|
<li><a href="#tabs-latestbuilds" data-toggle="tab">Latest builds</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -25,23 +24,11 @@
|
||||||
[% END %]
|
[% END %]
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="tabs-channels" class="tab-pane">
|
|
||||||
<p>This job provides the following Nix channel:</p>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="[% c.uri_for('/job' project.name jobset.name job.name
|
|
||||||
'channel' 'latest') %]"><tt>latest</tt></a> — contains the latest
|
|
||||||
successful build for each platform.
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="tabs-latestbuilds" class="tab-pane">
|
<div id="tabs-latestbuilds" class="tab-pane">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="[% c.uri_for('/job' project.name jobset.name job.name
|
<li><a href="[% c.uri_for('/job' project.name jobset.name job.name 'latest') %]">Latest successful build</a></li>
|
||||||
'latest') %]">Latest successful build.</a></li>
|
|
||||||
[% FOREACH system IN systems %]
|
[% FOREACH system IN systems %]
|
||||||
<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>
|
<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>
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -115,6 +115,8 @@
|
||||||
[% INCLUDE makeLink
|
[% INCLUDE makeLink
|
||||||
uri = c.uri_for(c.controller('Job').action_for('errors'), [project.name, jobset.name, job.name])
|
uri = c.uri_for(c.controller('Job').action_for('errors'), [project.name, jobset.name, job.name])
|
||||||
title = "Errors" %]
|
title = "Errors" %]
|
||||||
|
<li class="divider"></li>
|
||||||
|
[% INCLUDE menuItem uri = c.uri_for('/job' project.name jobset.name job.name 'channel' 'latest') title = "Channel" %]
|
||||||
[% END %]
|
[% END %]
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue