summaryrefslogtreecommitdiff
path: root/app/Template/task_list/task_details.php
diff options
context:
space:
mode:
authorJulian Maurice <julian.maurice@biblibre.com>2018-08-09 19:45:51 +0200
committerJulian Maurice <julian.maurice@biblibre.com>2018-08-09 19:45:51 +0200
commitae3ade0908bae350488260ee5d878a2ffbff605a (patch)
tree747db7edaca2fcb6d3c23594437b995528790ced /app/Template/task_list/task_details.php
parentefd64d842d82404612baef58d9debe1af7515a66 (diff)
Allow to associate project categories to colors
The color is then used as background in the board and list views
Diffstat (limited to 'app/Template/task_list/task_details.php')
-rw-r--r--app/Template/task_list/task_details.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/task_list/task_details.php b/app/Template/task_list/task_details.php
index b68be2dc..9afd9f55 100644
--- a/app/Template/task_list/task_details.php
+++ b/app/Template/task_list/task_details.php
@@ -4,7 +4,7 @@
<?= $this->text->e($task['column_name']) ?>
<?php if (! empty($task['category_id'])): ?>
- <span class="table-list-category">
+ <span class="table-list-category <?= $task['category_color_id'] ? "color-{$task['category_color_id']}" : '' ?>">
<?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?>
<?= $this->url->link(
$this->text->e($task['category_name']),