forked from lix-project/hydra
Builds page: Remove redundant tab titles
This commit is contained in:
parent
1160e17bfc
commit
4e67665b7f
|
@ -22,6 +22,7 @@ sub getJobStatus {
|
||||||
return $latest;
|
return $latest;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sub jobstatus : Chained('get_builds') PathPart Args(0) {
|
sub jobstatus : Chained('get_builds') PathPart Args(0) {
|
||||||
my ($self, $c) = @_;
|
my ($self, $c) = @_;
|
||||||
$c->stash->{template} = 'jobstatus.tt';
|
$c->stash->{template} = 'jobstatus.tt';
|
||||||
|
@ -29,6 +30,7 @@ sub jobstatus : Chained('get_builds') PathPart Args(0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# A convenient way to see all the errors - i.e. things demanding
|
# A convenient way to see all the errors - i.e. things demanding
|
||||||
# attention - at a glance.
|
# attention - at a glance.
|
||||||
sub errors : Chained('get_builds') PathPart Args(0) {
|
sub errors : Chained('get_builds') PathPart Args(0) {
|
||||||
|
@ -78,8 +80,8 @@ sub nix : Chained('get_builds') PathPart('channel') CaptureArgs(1) {
|
||||||
$c->stash->{channelName} = $c->stash->{channelBaseName} . "-latest";
|
$c->stash->{channelName} = $c->stash->{channelBaseName} . "-latest";
|
||||||
$c->stash->{channelBuilds} = $c->stash->{latestSucceeded}
|
$c->stash->{channelBuilds} = $c->stash->{latestSucceeded}
|
||||||
->search_literal("exists (select 1 from buildproducts where build = me.id and type = 'nix-build')")
|
->search_literal("exists (select 1 from buildproducts where build = me.id and type = 'nix-build')")
|
||||||
->search({}, { join => ["buildoutputs"]
|
->search({}, { columns => [@buildListColumns, 'drvpath', 'description', 'homepage']
|
||||||
, columns => [@buildListColumns, 'drvpath', 'description', 'homepage']
|
, join => ["buildoutputs"]
|
||||||
, '+select' => ['buildoutputs.path', 'buildoutputs.name'], '+as' => ['outpath', 'outname'] });
|
, '+select' => ['buildoutputs.path', 'buildoutputs.name'], '+as' => ['outpath', 'outname'] });
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
|
|
||||||
<ul id="tab" class="nav nav-tabs">
|
<ul id="tab" class="nav nav-tabs">
|
||||||
<li><a href="#tabs-summary" data-toggle="tab">Summary</a></li>
|
<li><a href="#tabs-summary" data-toggle="tab">Summary</a></li>
|
||||||
<li><a href="#tabs-information" data-toggle="tab">Information</a></li>
|
<li><a href="#tabs-information" data-toggle="tab">Details</a></li>
|
||||||
<li><a href="#tabs-buildinputs" data-toggle="tab">Build inputs</a></li>
|
<li><a href="#tabs-buildinputs" data-toggle="tab">Build inputs</a></li>
|
||||||
[% IF relatedbuilds %]<li><a href="#tabs-relatedbuilds" data-toggle="tab">Related builds</a></li>[% END %]
|
[% IF relatedbuilds %]<li><a href="#tabs-relatedbuilds" data-toggle="tab">Related builds</a></li>[% END %]
|
||||||
[% IF build.buildsteps %]<li><a href="#tabs-buildsteps" data-toggle="tab">Build steps</a></li>[% END %]
|
[% IF build.buildsteps %]<li><a href="#tabs-buildsteps" data-toggle="tab">Build steps</a></li>[% END %]
|
||||||
|
@ -220,8 +220,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="tabs-information" class="tab-pane">
|
<div id="tabs-information" class="tab-pane">
|
||||||
|
|
||||||
<h2>Information</h2>
|
|
||||||
|
|
||||||
<table class="layoutTable">
|
<table class="layoutTable">
|
||||||
[% IF build.nixexprinput %]
|
[% IF build.nixexprinput %]
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -319,8 +317,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="tabs-buildinputs" class="tab-pane">
|
<div id="tabs-buildinputs" class="tab-pane">
|
||||||
|
|
||||||
<h2>Build inputs</h2>
|
|
||||||
|
|
||||||
<table class="tablesorter table table-striped table-condensed">
|
<table class="tablesorter table table-striped table-condensed">
|
||||||
<thead>
|
<thead>
|
||||||
<tr><th>Name</th><th>Type</th><th>Value</th><th>Revision</th><th>Store path</th></tr>
|
<tr><th>Name</th><th>Type</th><th>Value</th><th>Revision</th><th>Store path</th></tr>
|
||||||
|
@ -357,7 +353,6 @@
|
||||||
|
|
||||||
[% IF relatedbuilds %]
|
[% IF relatedbuilds %]
|
||||||
<div id="tabs-relatedbuilds" class="tab-pane">
|
<div id="tabs-relatedbuilds" class="tab-pane">
|
||||||
<h2>Related builds</h2>
|
|
||||||
<p>The following builds are part of the same jobset evaluation that produced this build.</p>
|
<p>The following builds are part of the same jobset evaluation that produced this build.</p>
|
||||||
[% INCLUDE renderBuildList builds=relatedbuilds hideProjectName=1 hideJobsetName=1 %]
|
[% INCLUDE renderBuildList builds=relatedbuilds hideProjectName=1 hideJobsetName=1 %]
|
||||||
</div>
|
</div>
|
||||||
|
@ -365,7 +360,6 @@
|
||||||
|
|
||||||
[% IF build.buildsteps %]
|
[% IF build.buildsteps %]
|
||||||
<div id="tabs-buildsteps" class="tab-pane">
|
<div id="tabs-buildsteps" class="tab-pane">
|
||||||
<h2>All build steps</h2>
|
|
||||||
[% INCLUDE renderBuildSteps type="All" %]
|
[% INCLUDE renderBuildSteps type="All" %]
|
||||||
</div>
|
</div>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
Loading…
Reference in a new issue