The manual build button creates build for the currently watched branch.

Close #927
This commit is contained in:
Adirelle 2015-04-21 14:16:25 +02:00 committed by Tobias van Beek
parent 408eb5b974
commit 5688d9c4c8

View file

@ -6,7 +6,7 @@
<div class="clearfix" style="margin-bottom: 20px;">
<div class="pull-right btn-group">
<a class="btn btn-success" href="<?php print PHPCI_URL . 'project/build/' . $project->getId(); ?>">
<a class="btn btn-success" href="<?php print PHPCI_URL . 'project/build/' . $project->getId(); ?>/<?php echo urlencode($branch) ?>">
<?php Lang::out('build_now'); ?>
</a>
@ -153,4 +153,4 @@ if ($page < $pages - 1) {
print '</ul></div>';
?>
?>