Add CSS class to categories to allow custom styling

This commit is contained in:
sfahrenholz
2018-02-22 21:47:01 +01:00
committed by fguillot
parent fec77642ef
commit dd424e5a99
4 changed files with 63 additions and 2 deletions

View File

@@ -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: ?>