summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorsfahrenholz <sfahrenholz@users.noreply.github.com>2018-02-22 21:47:01 +0100
committerfguillot <fred@kanboard.net>2018-02-22 12:47:01 -0800
commitdd424e5a99c920434a8ea4402d764b46e69cd932 (patch)
tree941e9996cfbbdad7ab70aa3a7e890d18a7f3108d /app/Template
parentfec77642ef5f5ac85ed4fddb0b25d9fe28f83afb (diff)
Add CSS class to categories to allow custom styling
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/board/task_footer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 4ea5bb31..9d375194 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">
- <span class="task-board-category">
+<div class="task-board-category-container task-board-category-container-color">
+ <span class="task-board-category category-<?= $this->text->e($task['category_name']) ?>">
<?php if ($not_editable): ?>
<?= $this->text->e($task['category_name']) ?>
<?php else: ?>