summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-09-05 11:41:52 -0400
committerFrederic Guillot <fred@kanboard.net>2016-09-05 11:41:52 -0400
commitf0a3bc9494f886892d093e6bcd29805a3d6c3c52 (patch)
tree9e5609245a0242fd400761add935fb5a53f51cd7 /app/Template
parent956cb45dbee28d98830ec1e719036a429bce6293 (diff)
Change due date color on the board
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/board/task_footer.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 650fe559..83a582c6 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -38,9 +38,11 @@
<?php if (! empty($task['date_due'])): ?>
<?php if (date('Y-m-d') == date('Y-m-d', $task['date_due'])): ?>
- <span class="task-board-date task-board-date-today">
+ <span class="task-board-date task-board-date-today">
<?php elseif (time() > $task['date_due']): ?>
- <span class="task-board-date task-board-date-overdue">
+ <span class="task-board-date task-board-date-overdue">
+ <?php else: ?>
+ <span class="task-board-date">
<?php endif ?>
<i class="fa fa-calendar"></i>
<?= $this->dt->date($task['date_due']) ?>