summaryrefslogtreecommitdiff
path: root/app/Template/board/task_footer.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/board/task_footer.php')
-rw-r--r--app/Template/board/task_footer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 95ffd8fd..cdb75a1f 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -1,6 +1,6 @@
<?php if (! empty($task['category_id'])): ?>
<div class="task-board-category-container task-board-category-container-color">
- <span class="task-board-category category-<?= $this->text->e($task['category_name']) ?>">
+ <span class="task-board-category category-<?= $this->text->e($task['category_name']) ?> <?= $task['category_color_id'] ? "color-{$task['category_color_id']}" : '' ?>">
<?php if ($not_editable): ?>
<?= $this->text->e($task['category_name']) ?>
<?php else: ?>