From 5bbc903dcab12dcf53abc40bf67c2cd7898e0420 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 16 Feb 2016 17:28:11 -0500 Subject: Start to implement a project overview page --- app/Controller/ProjectOverview.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app/Controller/ProjectOverview.php (limited to 'app/Controller/ProjectOverview.php') diff --git a/app/Controller/ProjectOverview.php b/app/Controller/ProjectOverview.php new file mode 100644 index 00000000..cbd65777 --- /dev/null +++ b/app/Controller/ProjectOverview.php @@ -0,0 +1,27 @@ +getProjectFilters('ProjectOverview', 'show'); + $params['users'] = $this->projectUserRole->getAllUsersGroupedByRole($params['project']['id']); + $params['roles'] = $this->role->getProjectRoles(); + $params['events'] = $this->projectActivity->getProject($params['project']['id'], 10); + + $this->project->getColumnStats($params['project']); + + $this->response->html($this->helper->layout->app('project_overview/show', $params)); + } +} -- cgit v1.2.3