Use the same task form layout everywhere
This commit is contained in:
@@ -41,7 +41,6 @@ class TaskCreationController extends BaseController
|
||||
'values' => $values + array('project_id' => $project['id']),
|
||||
'columns_list' => $this->columnModel->getList($project['id']),
|
||||
'users_list' => $this->projectUserRoleModel->getAssignableUsersList($project['id'], true, false, true),
|
||||
'colors_list' => $this->colorModel->getList(),
|
||||
'categories_list' => $this->categoryModel->getList($project['id']),
|
||||
'swimlanes_list' => $swimlanes_list,
|
||||
'title' => $project['name'].' > '.t('New task')
|
||||
|
||||
@@ -36,7 +36,6 @@ class TaskGanttCreationController extends BaseController
|
||||
'errors' => $errors,
|
||||
'values' => $values,
|
||||
'users_list' => $this->projectUserRoleModel->getAssignableUsersList($project['id'], true, false, true),
|
||||
'colors_list' => $this->colorModel->getList(),
|
||||
'categories_list' => $this->categoryModel->getList($project['id']),
|
||||
'swimlanes_list' => $this->swimlaneModel->getList($project['id'], false, true),
|
||||
'title' => $project['name'].' > '.t('New task')
|
||||
|
||||
@@ -100,7 +100,6 @@ class TaskModificationController extends BaseController
|
||||
'task' => $task,
|
||||
'tags' => $this->taskTagModel->getList($task['id']),
|
||||
'users_list' => $this->projectUserRoleModel->getAssignableUsersList($task['project_id']),
|
||||
'colors_list' => $this->colorModel->getList(),
|
||||
'categories_list' => $this->categoryModel->getList($task['project_id']),
|
||||
)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user