forked from lix-project/hydra
Remove the job status pages
They're mostly redundant since there is a faster "jobs" tab on the jobset pages now. The only thing the latter lacks is the ability to see status change times, but those are quite expensive to compute, and are visible on build pages if you really need them.
This commit is contained in:
parent
42c4ef856f
commit
58a6fdc5ed
2 changed files with 5 additions and 13 deletions
|
@ -23,12 +23,11 @@ sub getJobStatus {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
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';
|
||||||
$c->stash->{latestBuilds} = [getJobStatus($self, $c)->all];
|
# $c->stash->{latestBuilds} = [getJobStatus($self, $c)->all];
|
||||||
}
|
#}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# A convenient way to see all the errors - i.e. things demanding
|
# A convenient way to see all the errors - i.e. things demanding
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('project'), [project.name]) title = "Overview" %]
|
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('project'), [project.name]) title = "Overview" %]
|
||||||
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('all'), [project.name]) title = "Latest builds" %]
|
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('all'), [project.name]) title = "Latest builds" %]
|
||||||
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('jobstatus'), [project.name]) title = "Job status" %]
|
|
||||||
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('errors'), [project.name]) title = "Errors" %]
|
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('errors'), [project.name]) title = "Errors" %]
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
[% INCLUDE menuItem uri = c.uri_for('/project' project.name 'channel' 'latest') title = "Channel" %]
|
[% INCLUDE menuItem uri = c.uri_for('/project' project.name 'channel' 'latest') title = "Channel" %]
|
||||||
|
@ -64,9 +63,6 @@
|
||||||
[% INCLUDE menuItem
|
[% INCLUDE menuItem
|
||||||
uri = c.uri_for(c.controller('Jobset').action_for('all'), [project.name, jobset.name])
|
uri = c.uri_for(c.controller('Jobset').action_for('all'), [project.name, jobset.name])
|
||||||
title = "Latest builds" %]
|
title = "Latest builds" %]
|
||||||
[% INCLUDE menuItem
|
|
||||||
uri = c.uri_for(c.controller('Jobset').action_for('jobstatus'), [project.name, jobset.name])
|
|
||||||
title = "Job status" %]
|
|
||||||
[% INCLUDE menuItem
|
[% INCLUDE menuItem
|
||||||
uri = c.uri_for(c.controller('Jobset').action_for('errors'), [project.name, jobset.name])
|
uri = c.uri_for(c.controller('Jobset').action_for('errors'), [project.name, jobset.name])
|
||||||
title = "Errors" %]
|
title = "Errors" %]
|
||||||
|
@ -111,9 +107,6 @@
|
||||||
[% INCLUDE menuItem
|
[% INCLUDE menuItem
|
||||||
uri = c.uri_for(c.controller('Job').action_for('all'), [project.name, jobset.name, job.name])
|
uri = c.uri_for(c.controller('Job').action_for('all'), [project.name, jobset.name, job.name])
|
||||||
title = "Latest builds" %]
|
title = "Latest builds" %]
|
||||||
[% INCLUDE menuItem
|
|
||||||
uri = c.uri_for(c.controller('Job').action_for('jobstatus'), [project.name, jobset.name, job.name])
|
|
||||||
title = "Job status" %]
|
|
||||||
[% INCLUDE menuItem
|
[% INCLUDE menuItem
|
||||||
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" %]
|
||||||
|
|
Loading…
Reference in a new issue