Allow to associate project categories to colors
The color is then used as background in the board and list views
This commit is contained in:
@@ -41,6 +41,7 @@ class CategoryController extends BaseController
|
||||
|
||||
$this->response->html($this->template->render('category/create', array(
|
||||
'values' => $values + array('project_id' => $project['id']),
|
||||
'colors' => $this->colorModel->getList(),
|
||||
'errors' => $errors,
|
||||
'project' => $project,
|
||||
)));
|
||||
@@ -87,6 +88,7 @@ class CategoryController extends BaseController
|
||||
|
||||
$this->response->html($this->template->render('category/edit', array(
|
||||
'values' => empty($values) ? $category : $values,
|
||||
'colors' => $this->colorModel->getList(),
|
||||
'errors' => $errors,
|
||||
'project' => $project,
|
||||
)));
|
||||
|
||||
Reference in New Issue
Block a user