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:
@@ -218,7 +218,7 @@ class ColorModel extends Base
|
||||
$buffer = '';
|
||||
|
||||
foreach ($this->default_colors as $color => $values) {
|
||||
$buffer .= '.task-board.color-'.$color.', .task-summary-container.color-'.$color.', .color-picker-square.color-'.$color.' {';
|
||||
$buffer .= '.task-board.color-'.$color.', .task-summary-container.color-'.$color.', .color-picker-square.color-'.$color.', .task-board-category.color-'.$color.', .table-list-category.color-'.$color.' {';
|
||||
$buffer .= 'background-color: '.$values['background'].';';
|
||||
$buffer .= 'border-color: '.$values['border'];
|
||||
$buffer .= '}';
|
||||
|
||||
@@ -123,6 +123,7 @@ class TaskFinderModel extends Base
|
||||
UserModel::TABLE.'.avatar_path AS assignee_avatar_path',
|
||||
CategoryModel::TABLE.'.name AS category_name',
|
||||
CategoryModel::TABLE.'.description AS category_description',
|
||||
CategoryModel::TABLE.'.color_id AS category_color_id',
|
||||
ColumnModel::TABLE.'.title AS column_name',
|
||||
ColumnModel::TABLE.'.position AS column_position',
|
||||
SwimlaneModel::TABLE.'.name AS swimlane_name',
|
||||
|
||||
Reference in New Issue
Block a user