Merge branch '12.x'
This commit is contained in:
@@ -347,16 +347,15 @@ class build extends control
|
||||
{
|
||||
$builds = $this->build->getExecutionBuildPairs($projectID, $productID, $branch, 'noempty,notrunk');
|
||||
if($isJsonView) die(json_encode($builds));
|
||||
else
|
||||
|
||||
if(empty($builds))
|
||||
{
|
||||
if(empty($builds))
|
||||
{
|
||||
echo html::a($this->createLink('build', 'create', "projectID=$projectID&productID=$productID", '', $onlybody = true), $this->lang->build->create, '', "data-toggle='modal' data-type='iframe'");
|
||||
echo ' ';
|
||||
die(html::a("javascript:loadProjectBuilds($projectID)", $this->lang->refresh));
|
||||
}
|
||||
die(html::select('build', $builds, $build, "class='form-control'"));
|
||||
$html = html::a($this->createLink('build', 'create', "projectID=$projectID&productID=$productID", '', $onlybody = true), $this->lang->build->create, '', "data-toggle='modal' data-type='iframe'");
|
||||
$html .= ' ';
|
||||
$html .= html::a("javascript:loadProjectBuilds($projectID)", $this->lang->refresh);
|
||||
die($html);
|
||||
}
|
||||
die(html::select('build', $builds, $build, "class='form-control'"));
|
||||
}
|
||||
if($varName == 'dropdownList')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user