* Finish Bug #30662

This commit is contained in:
lanzongjun
2022-12-09 11:53:58 +08:00
parent 8a0cbc6e6d
commit dd2160fde3
14 changed files with 60 additions and 13 deletions
+11
View File
@@ -87,6 +87,16 @@ class projectrelease extends control
$releases = $this->projectrelease->getList($projectID, $type, $orderBy, $pager);
$showBranch = false;
foreach($releases as $release)
{
if($release->productType != 'normal')
{
$showBranch = true;
break;
}
}
$this->view->title = $objectName . $this->lang->colon . $this->lang->release->browse;
$this->view->execution = $execution;
$this->view->project = $project;
@@ -97,6 +107,7 @@ class projectrelease extends control
$this->view->type = $type;
$this->view->from = $this->app->tab;
$this->view->pager = $pager;
$this->view->showBranch = $showBranch;
$this->display();
}