From 49581d7ece547a3c09316afa387ee22340124ed0 Mon Sep 17 00:00:00 2001 From: Yagami Date: Wed, 23 Nov 2022 13:43:06 +0800 Subject: [PATCH] * Finish task #77252. --- module/project/control.php | 1 + module/project/view/manageproducts.html.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/module/project/control.php b/module/project/control.php index 202a730836..857acd84d9 100755 --- a/module/project/control.php +++ b/module/project/control.php @@ -2288,6 +2288,7 @@ class project extends control $this->view->unmodifiableBranches = $unmodifiableBranches; $this->view->unmodifiableMainBranches = $unmodifiableMainBranches; $this->view->branchGroups = $branchGroups; + $this->view->executions = $this->execution->getPairs($projectID); $this->view->allBranches = $this->branch->getByProducts(array_keys($allProducts), 'ignoreNormal'); $this->view->allProducts = $allProducts; diff --git a/module/project/view/manageproducts.html.php b/module/project/view/manageproducts.html.php index 8f3639d13c..4e91dc8856 100644 --- a/module/project/view/manageproducts.html.php +++ b/module/project/view/manageproducts.html.php @@ -135,7 +135,7 @@ -division and count($linkedProducts) == 1):?> +division and count($linkedProducts) == 1 and empty($executions)):?> project->noticeDivsion);?> project->divisionSwitchList);?>