summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-07-26 08:24:05 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-07-26 08:24:05 -0400
commit052baa13e5260f1e241aa0eff1253cbc2a481f7e (patch)
tree59be5c5bf3e3549bb5e5282672ced816cc8a5c3a /app
parent879f8e7624c4e2c81f6b3b9128fab018c193dfe4 (diff)
Overdue date have a different color now (merge pull-request #186)
Diffstat (limited to 'app')
-rw-r--r--app/Templates/board_task.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Templates/board_task.php b/app/Templates/board_task.php
index 2c82b375..e3c210b3 100644
--- a/app/Templates/board_task.php
+++ b/app/Templates/board_task.php
@@ -54,7 +54,7 @@
<div class="task-board-footer">
<?php if (! empty($task['date_due'])): ?>
- <div class="task-board-date">
+ <div class="task-board-date <?= time() > $task['date_due'] ? 'task-board-date-overdue' : '' ?>">
<?= dt('%B %e, %G', $task['date_due']) ?>
</div>
<?php endif ?>