Add subtasks to the dashboard

This commit is contained in:
Frédéric Guillot
2014-11-11 21:52:22 -05:00
parent 7a5b78dbc6
commit 5ca9a12a0a
18 changed files with 99 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
namespace Controller;
use Model\Project as ProjectModel;
use Model\SubTask;
/**
* Application controller
@@ -27,6 +28,7 @@ class App extends Base
'board_selector' => $this->projectPermission->getAllowedProjects($user_id),
'events' => $this->projectActivity->getProjects($project_ids, 10),
'tasks' => $this->taskFinder->getAllTasksByUser($user_id),
'subtasks' => $this->subTask->getAllByUser($user_id, array(SubTask::STATUS_TODO, SubTask::STATUS_INPROGRESS)),
'projects' => $this->project->getSummary($project_ids),
'title' => t('Dashboard'),
)));