- remove create and refresh link.

This commit is contained in:
xia0ta0
2015-01-29 13:00:27 +08:00
parent 895fb28315
commit 7f38bf0dfa
-5
View File
@@ -208,11 +208,6 @@ class build extends control
{
$builds = $this->build->getProjectBuildPairs($projectID, $productID, 'noempty,release');
$output = html::select($varName . '[]', $builds , $build, 'size=4 class=form-control multiple');
if(count($builds) == 1 and $needCreate)
{
$output .= html::a($this->createLink('build', 'create', "projectID=$projectID"), $this->lang->build->create, '_blank');
$output .= html::a("javascript:loadProjectBuilds($projectID)", $this->lang->refresh);
}
die($output);
}
if($varName == 'openedBuilds') die(html::select($varName . "[$index][]", $this->build->getProjectBuildPairs($projectID, $productID, 'noempty'), $build, 'size=4 class=form-control multiple'));