From cd9bc86fbeea01fa492606b9c19ded36bf0ab366 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 22 Aug 2015 17:39:37 -0400 Subject: Add new automated action to change task color based on the task link --- app/Model/Action.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Model/Action.php') 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'), -- cgit v1.2.3