From 9cc5139a080c19e76594012b1b3ff54d041c5427 Mon Sep 17 00:00:00 2001 From: lanzongjun Date: Tue, 15 Nov 2022 09:53:24 +0800 Subject: [PATCH] * finish task #75919 --- module/execution/view/story.html.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/execution/view/story.html.php b/module/execution/view/story.html.php index 4d4d80de04..37efbfad94 100644 --- a/module/execution/view/story.html.php +++ b/module/execution/view/story.html.php @@ -253,6 +253,7 @@ foreach($setting as $key => $value) { if(!$execution->hasProduct and !$execution->multiple and $value->id == 'plan') continue; + if(!$execution->hasProduct and !$execution->multiple and $value->id == 'stage') continue; if($value->show) { $this->datatable->printHead($value, $orderBy, $vars, $canBatchAction); @@ -271,6 +272,7 @@ $value) { if(!$execution->hasProduct and !$execution->multiple and $value->id == 'plan') continue; + if(!$execution->hasProduct and !$execution->multiple and $value->id == 'stage') continue; $this->story->printCell($value, $story, $users, $branchOption, $storyStages, $modulePairs, $storyTasks, $storyBugs, $storyCases, $useDatatable ? 'datatable' : 'table', $storyType, $execution, $showBranch); } ?> @@ -285,6 +287,7 @@ $value) { if(!$execution->hasProduct and !$execution->multiple and $value->id == 'plan') continue; + if(!$execution->hasProduct and !$execution->multiple and $value->id == 'stage') continue; $this->story->printCell($value, $child, $users, $branchOption, $storyStages, $modulePairs, $storyTasks, $storyBugs, $storyCases, $useDatatable ? 'datatable' : 'table', $storyType, $execution); }?>