summaryrefslogtreecommitdiff
path: root/app/Helper/Task.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-14 11:50:31 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-14 11:50:31 -0400
commit9b399951f430b26379a2bf8b13ace99290227e61 (patch)
tree4dd694985dc9f27782ad365d376dc5a37f1e987e /app/Helper/Task.php
parenta785810f2d11ad14ab3497a51ca10a6780b758ad (diff)
Improve activity stream/notification for task update events and add new notification for swimlane change
Diffstat (limited to 'app/Helper/Task.php')
-rw-r--r--app/Helper/Task.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Helper/Task.php b/app/Helper/Task.php
index b3931cdb..13bdb07a 100644
--- a/app/Helper/Task.php
+++ b/app/Helper/Task.php
@@ -37,6 +37,11 @@ class Task extends \Core\Base
return t('%dd', ($now - $timestamp) / 86400);
}
+ public function getColors()
+ {
+ return $this->color->getList();
+ }
+
public function recurrenceTriggers()
{
return $this->task->getRecurrenceTriggerList();