diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-08-22 17:39:37 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-08-22 17:39:37 -0400 |
commit | cd9bc86fbeea01fa492606b9c19ded36bf0ab366 (patch) | |
tree | cd7a9a5bca2e661107cdec11a2678fd68f8c9df4 /app/Model/Action.php | |
parent | fd60964c239627d2d55c6eca0888be84a8f6653f (diff) |
Add new automated action to change task color based on the task link
Diffstat (limited to 'app/Model/Action.php')
-rw-r--r-- | app/Model/Action.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Model/Action.php b/app/Model/Action.php index 3759653d..87058cce 100644 --- a/app/Model/Action.php +++ b/app/Model/Action.php @@ -59,6 +59,7 @@ class Action extends Base 'TaskUpdateStartDate' => t('Automatically update the start date'), 'TaskMoveColumnCategoryChange' => t('Move the task to another column when the category is changed'), 'TaskEmail' => t('Send a task by email to someone'), + 'TaskAssignColorLink' => t('Change task color when using a specific task link'), ); asort($values); @@ -75,6 +76,7 @@ class Action extends Base public function getAvailableEvents() { $values = array( + TaskLink::EVENT_CREATE_UPDATE => t('Task link creation or modification'), Task::EVENT_MOVE_COLUMN => t('Move a task to another column'), Task::EVENT_UPDATE => t('Task modification'), Task::EVENT_CREATE => t('Task creation'), |