Rename action TaskAssignColor to TaskAssignColorColumn
This commit is contained in:
parent
5631210fb7
commit
a264a53e3b
|
|
@ -9,7 +9,7 @@ use Model\Task;
|
|||
*
|
||||
* @package action
|
||||
*/
|
||||
class TaskAssignColor extends Base
|
||||
class TaskAssignColorColumn extends Base
|
||||
{
|
||||
/**
|
||||
* Get the list of compatible events
|
||||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -847,4 +847,5 @@ return array(
|
|||
'Check my code' => 'Vérifier mon code',
|
||||
'Secret key: ' => 'Clé secrète : ',
|
||||
'Test your device' => 'Testez votre appareil',
|
||||
'Assign a color when the task is moved to a specific column' => 'Assigner une couleur lorsque la tâche est déplacée dans une colonne spécifique',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -845,4 +845,5 @@ return array(
|
|||
// 'Check my code' => '',
|
||||
// 'Secret key: ' => '',
|
||||
// 'Test your device' => '',
|
||||
// 'Assign a color when the task is moved to a specific column' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -41,13 +41,13 @@ class Action extends Base
|
|||
$values = array(
|
||||
'TaskClose' => t('Close a task'),
|
||||
'TaskOpen' => t('Open a task'),
|
||||
'TaskAssignColor' => t('Assign a color to a task'),
|
||||
'TaskAssignSpecificUser' => t('Assign the task to a specific user'),
|
||||
'TaskAssignCurrentUser' => t('Assign the task to the person who does the action'),
|
||||
'TaskDuplicateAnotherProject' => t('Duplicate the task to another project'),
|
||||
'TaskMoveAnotherProject' => t('Move the task to another project'),
|
||||
'TaskMoveColumnAssigned' => t('Move the task to another column when assigned to a user'),
|
||||
'TaskMoveColumnUnAssigned' => t('Move the task to another column when assignee is cleared'),
|
||||
'TaskAssignColorColumn' => t('Assign a color when the task is moved to a specific column'),
|
||||
'TaskAssignColorUser' => t('Assign a color to a specific user'),
|
||||
'TaskAssignColorCategory' => t('Assign automatically a color based on a category'),
|
||||
'TaskAssignCategoryColor' => t('Assign automatically a category based on a color'),
|
||||
|
|
|
|||
|
|
@ -1390,7 +1390,7 @@ Response example:
|
|||
"id": 1433237746,
|
||||
"result": {
|
||||
"TaskLogMoveAnotherColumn" : "Add a comment logging moving the task between columns",
|
||||
"TaskAssignColor" : "Assign a color to a task",
|
||||
"TaskAssignColorColumn" : "Assign a color when the task is moved to a specific column",
|
||||
"TaskAssignColorUser" : "Assign a color to a specific user",
|
||||
"TaskAssignCategoryColor" : "Assign automatically a category based on a color",
|
||||
"TaskAssignColorCategory" : "Assign automatically a color based on a category",
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@ use Model\TaskCreation;
|
|||
use Model\TaskFinder;
|
||||
use Model\Project;
|
||||
|
||||
class ActionTaskAssignColorTest extends Base
|
||||
class ActionTaskAssignColorColumnTest extends Base
|
||||
{
|
||||
public function testColorChange()
|
||||
{
|
||||
$action = new Action\TaskAssignColor($this->container, 1, Task::EVENT_MOVE_COLUMN);
|
||||
$action = new Action\TaskAssignColorColumn($this->container, 1, Task::EVENT_MOVE_COLUMN);
|
||||
$action->setParam('column_id', 2);
|
||||
$action->setParam('color_id', 'green');
|
||||
|
||||
Loading…
Reference in New Issue