Remove the Build menu from the top bar

It's now a dropdown menu in the tabs thingy, which subsumes the
"Reproduce locally" button.  This makes the actions in the menu a bit
more visible, IMHO.
This commit is contained in:
Eelco Dolstra
2013-10-02 19:10:00 +02:00
parent f50477141d
commit a5cfae078e
4 changed files with 69 additions and 71 deletions

View File

@ -443,9 +443,8 @@ sub restart : Chained('buildChain') PathPart Args(0) {
requireProjectOwner($c, $build->project);
my $drvpath = $build->drvpath;
error($c, "This build cannot be restarted.")
unless $build->finished && -f $drvpath;
unless $build->finished && -f $build->drvpath;
restartBuild($c->model('DB')->schema, $build);