* Finish task #7404.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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] = '使用';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user