* Finish task #9118.

This commit is contained in:
holan20180123
2021-01-29 15:24:30 +08:00
parent fc33d9e27a
commit 0611a739fe
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -130,10 +130,14 @@ class user extends control
/* Change the menu when in my module. */
$this->resetMenu();
/* Modify story title. */
$this->loadModel('story');
if($storyType == 'requirement') $this->lang->story->title = str_replace($this->lang->SRCommon, $this->lang->URCommon, $this->lang->story->title);
/* Assign. */
$this->view->title = $this->lang->user->common . $this->lang->colon . $this->lang->user->story;
$this->view->position[] = $this->lang->user->story;
$this->view->stories = $this->loadModel('story')->getUserStories($account, $type, 'id_desc', $pager, $storyType);
$this->view->stories = $this->story->getUserStories($account, $type, 'id_desc', $pager, $storyType);
$this->view->users = $this->user->getPairs('noletter');
$this->view->storyType = $storyType;
$this->view->type = $type;
+1 -1
View File
@@ -43,7 +43,7 @@
<th> <?php echo $lang->story->title;?></th>
<th class='w-150px'> <?php echo $lang->story->plan;?></th>
<th class='w-90px'> <?php echo $lang->openedByAB;?></th>
<th class='w-60px'> <?php echo $lang->story->estimateAB;?></th>
<th class='w-80px'> <?php echo $lang->story->estimateAB;?></th>
<th class='w-status'><?php echo $lang->statusAB;?></th>
<th class='w-100px'> <?php echo $lang->story->stageAB;?></th>
</tr>