summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-24 17:57:26 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-24 17:57:26 -0400
commit17213da5ce60a3da19789cff14544d0a79ee2df1 (patch)
tree5b3791d9988f1a02ad71237e8330863f3919eb9e /app/Controller
parent18cb7ad0a4a96be63030f5207b74a195c8b6cd6c (diff)
Use the same task form layout everywhere
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/TaskCreationController.php1
-rw-r--r--app/Controller/TaskGanttCreationController.php1
-rw-r--r--app/Controller/TaskModificationController.php1
3 files changed, 0 insertions, 3 deletions
diff --git a/app/Controller/TaskCreationController.php b/app/Controller/TaskCreationController.php
index 819de96e..073b31b0 100644
--- a/app/Controller/TaskCreationController.php
+++ b/app/Controller/TaskCreationController.php
@@ -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'].' &gt; '.t('New task')
diff --git a/app/Controller/TaskGanttCreationController.php b/app/Controller/TaskGanttCreationController.php
index c2998a3e..07b74a49 100644
--- a/app/Controller/TaskGanttCreationController.php
+++ b/app/Controller/TaskGanttCreationController.php
@@ -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'].' &gt; '.t('New task')
diff --git a/app/Controller/TaskModificationController.php b/app/Controller/TaskModificationController.php
index d55a7193..3c526b3b 100644
--- a/app/Controller/TaskModificationController.php
+++ b/app/Controller/TaskModificationController.php
@@ -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']),
)));
}