summaryrefslogtreecommitdiff
path: root/app/Controller/ProjectViewController.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-08 19:12:16 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-08 19:12:16 -0500
commit58d4231f06fbcbc54573504af2c2a4561b9e89ed (patch)
tree828837dd98873c1e83aac9cdd7a9cd367ec899a3 /app/Controller/ProjectViewController.php
parent73dce1279760434e1d1b7a903a0a7500462d6f9c (diff)
Improve columns table in project settings
Diffstat (limited to 'app/Controller/ProjectViewController.php')
-rw-r--r--app/Controller/ProjectViewController.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Controller/ProjectViewController.php b/app/Controller/ProjectViewController.php
index 92b93804..8ccf36ab 100644
--- a/app/Controller/ProjectViewController.php
+++ b/app/Controller/ProjectViewController.php
@@ -18,11 +18,12 @@ class ProjectViewController extends BaseController
public function show()
{
$project = $this->getProject();
+ $columns = $this->columnModel->getAllWithTasksCount($project['id']);
$this->response->html($this->helper->layout->project('project_view/show', array(
'project' => $project,
- 'stats' => $this->projectModel->getTaskStats($project['id']),
- 'title' => $project['name'],
+ 'columns' => $columns,
+ 'title' => $project['name'],
)));
}