* Finish task #7404.

This commit is contained in:
sgm0422
2020-07-13 16:00:32 +08:00
parent 74a1ac420d
commit da13e6b50a
3 changed files with 10 additions and 1 deletions
+4 -1
View File
@@ -478,10 +478,13 @@ class story extends control
/* Assign. */
$story = $this->story->getById($storyID, 0, true);
$product = $this->loadModel('product')->getById($story->product);
$stories = $this->story->getParentStoryPairs($story->product, $story->parent);
if(isset($stories[$storyID])) unset($stories[$storyID]);
$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;
$this->view->stories = $this->story->getParentStoryPairs($story->product, $story->parent);
$this->view->stories = $stories;
$this->view->users = $this->user->getPairs('pofirst|nodeleted', "$story->assignedTo,$story->openedBy,$story->closedBy");
$this->view->product = $product;
$this->view->branches = $product->type == 'normal' ? array() : $this->loadModel('branch')->getPairs($story->product);
+3
View File
@@ -123,6 +123,9 @@ $lang->story->released = 'Released Stories';
$lang->story->ditto = 'Ditto';
$lang->story->dittoNotice = 'This story is not linked to the same product as the last one is!';
$lang->story->needNotReviewList[0] = 'Need Review';
$lang->story->needNotReviewList[1] = 'Need Not Review';
$lang->story->useList[0] = 'Yes';
$lang->story->useList[1] = 'No';
+3
View File
@@ -123,6 +123,9 @@ $lang->story->released = "已发布{$lang->storyCommon}数";
$lang->story->ditto = '同上';
$lang->story->dittoNotice = "该{$lang->storyCommon}与上一{$lang->storyCommon}不属于同一产品!";
$lang->story->needNotReviewList[0] = '需要评审';
$lang->story->needNotReviewList[1] = '不需要评审';
$lang->story->useList[0] = '不使用';
$lang->story->useList[1] = '使用';