diff --git a/module/story/control.php b/module/story/control.php index 123e5413da..3a33fa09d9 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -987,8 +987,10 @@ class story extends control public function tasks($storyID, $projectID = 0) { $this->loadModel('task'); - $this->view->tasks = $this->task->getStoryTasks($storyID, $projectID); - $this->view->users = $this->user->getPairs('noletter'); + $tasks = $this->task->getStoryTasks($storyID, $projectID); + $this->view->tasks = $tasks; + $this->view->users = $this->user->getPairs('noletter'); + $this->view->summary = $this->loadModel('project')->summary($tasks); $this->display(); } diff --git a/module/story/view/tasks.html.php b/module/story/view/tasks.html.php index 9f2f8423b4..affda6a4c3 100644 --- a/module/story/view/tasks.html.php +++ b/module/story/view/tasks.html.php @@ -39,6 +39,11 @@ include '../../common/view/chart.html.php'; +
+