* Improved the navigation bar: don't include all projects (since that
doesn't scale), and include links for jobset/job specific pages. The main page now lists the projects. * Overview pages for jobsets and jobs. * Links to the channels. * Jobsets are now defined and edited in a separate action.
This commit is contained in:
@ -17,7 +17,16 @@ sub job : Chained('/') PathPart('job') CaptureArgs(3) {
|
||||
}
|
||||
|
||||
|
||||
sub index : Chained('job') PathPart('') Args(0) {
|
||||
sub overview : Chained('job') PathPart('') Args(0) {
|
||||
my ($self, $c) = @_;
|
||||
|
||||
$c->stash->{template} = 'job.tt';
|
||||
|
||||
getBuildStats($c, scalar $c->stash->{job}->builds);
|
||||
}
|
||||
|
||||
|
||||
sub all : Chained('job') PathPart Args(0) {
|
||||
my ($self, $c) = @_;
|
||||
$c->go($self->action_for("all"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user