summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-22 17:39:37 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-22 17:39:37 -0400
commitcd9bc86fbeea01fa492606b9c19ded36bf0ab366 (patch)
treecd7a9a5bca2e661107cdec11a2678fd68f8c9df4 /app/Controller
parentfd60964c239627d2d55c6eca0888be84a8f6653f (diff)
Add new automated action to change task color based on the task link
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Action.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controller/Action.php b/app/Controller/Action.php
index 140c47d3..d92385c7 100644
--- a/app/Controller/Action.php
+++ b/app/Controller/Action.php
@@ -31,6 +31,7 @@ class Action extends Base
'projects_list' => $this->project->getList(false),
'colors_list' => $this->color->getList(),
'categories_list' => $this->category->getList($project['id']),
+ 'links_list' => $this->link->getList(0, false),
'title' => t('Automatic actions')
)));
}
@@ -89,6 +90,7 @@ class Action extends Base
'projects_list' => $projects_list,
'colors_list' => $this->color->getList(),
'categories_list' => $this->category->getList($project['id']),
+ 'links_list' => $this->link->getList(0, false),
'project' => $project,
'title' => t('Automatic actions')
)));