summaryrefslogtreecommitdiff
path: root/app/Controller/TaskViewController.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-24 15:43:34 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-24 15:43:34 -0400
commit18cb7ad0a4a96be63030f5207b74a195c8b6cd6c (patch)
tree719898528a9df56f6d8ea4abaee54b9542e3d434 /app/Controller/TaskViewController.php
parentb2e92480c29acb15586bc8ea305c8416927a667c (diff)
Expose tags to the user interface (first prototype)
Diffstat (limited to 'app/Controller/TaskViewController.php')
-rw-r--r--app/Controller/TaskViewController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controller/TaskViewController.php b/app/Controller/TaskViewController.php
index bd1e86ae..f40f8bea 100644
--- a/app/Controller/TaskViewController.php
+++ b/app/Controller/TaskViewController.php
@@ -45,6 +45,7 @@ class TaskViewController extends BaseController
'task' => $task,
'columns_list' => $this->columnModel->getList($task['project_id']),
'colors_list' => $this->colorModel->getList(),
+ 'tags' => $this->taskTagModel->getList($task['id']),
'title' => $task['title'],
'no_layout' => true,
'auto_refresh' => true,
@@ -82,6 +83,7 @@ class TaskViewController extends BaseController
'internal_links' => $this->taskLinkModel->getAllGroupedByLabel($task['id']),
'external_links' => $this->taskExternalLinkModel->getAll($task['id']),
'link_label_list' => $this->linkModel->getList(0, false),
+ 'tags' => $this->taskTagModel->getList($task['id']),
)));
}