This commit is contained in:
liumengyi
2023-02-23 05:24:32 +00:00
parent 1bb6626bb1
commit 389f7a9801
+5 -3
View File
@@ -922,7 +922,11 @@ class story extends control
$this->view->hiddenParent = true;
if($project->model !== 'scrum') $this->view->hiddenPlan = true;
if(!$project->multiple) $this->view->hiddenPlan = true;
if(!$project->multiple)
{
$this->view->hiddenPlan = true;
unset($this->lang->story->stageList[''], $this->lang->story->stageList['wait'], $this->lang->story->stageList['planned']);
}
if($project->model === 'kanban') $this->view->hiddenURS = true;
}
@@ -952,8 +956,6 @@ class story extends control
$branch = $product->type == 'branch' ? ($story->branch > 0 ? $story->branch : '0') : 'all';
$productStories = $this->story->getProductStoryPairs($story->product, $branch, 0, 'all', 'id_desc', 0, '', $story->type);
if(!empty($product->shadow)) unset($this->lang->story->stageList[''], $this->lang->story->stageList['wait'], $this->lang->story->stageList['planned']);
$this->view->title = $this->lang->story->edit . "STORY" . $this->lang->colon . $this->view->story->title;
$this->view->position[] = $this->lang->story->edit;
$this->view->story = $story;