diff --git a/module/story/control.php b/module/story/control.php index 7a04436294..c48c868583 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -1313,6 +1313,7 @@ class story extends control $this->view->param = $param; $this->view->builds = $this->loadModel('build')->getStoryBuilds($storyID); $this->view->releases = $this->loadModel('release')->getStoryReleases($storyID); + $this->view->bugStatusList = $this->loadModel('bug')->lang->bug->statusList; $this->display(); } diff --git a/module/story/view/view.html.php b/module/story/view/view.html.php index 034e14830c..1799e212c8 100644 --- a/module/story/view/view.html.php +++ b/module/story/view/view.html.php @@ -477,7 +477,8 @@ title'>" . html::a($this->createLink('bug', 'view', "bugID=$bug->id", '', true), "#$bug->id $bug->title", '', "class='iframe' data-width='80%'") . ''; + $bugInfo = "#$bug->id" . ' ' . $bugStatusList[$bug->status] . ' ' . $bug->title; + echo "
  • " . html::a($this->createLink('bug', 'view', "bugID=$bug->id", '', true), $bugInfo, '', "class='iframe' data-width='80%'") . '
  • '; } ?>