* 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:
Eelco Dolstra
2009-04-02 16:15:57 +00:00
parent db4ce0df06
commit 753e56b6eb
18 changed files with 762 additions and 470 deletions

View File

@ -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"));
}