diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-06-18 22:02:12 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-06-18 22:02:12 -0400 |
commit | e70f904ed4efca82dac5319d9f973b002280aac1 (patch) | |
tree | a5e0fd3df890812f498aef45c698688a422fdbc7 /app/Template/board | |
parent | 94a86237fc3d8f554170113ab2b5bdcd12586740 (diff) |
Make sure that due datetime is using the right color
Diffstat (limited to 'app/Template/board')
-rw-r--r-- | app/Template/board/task_footer.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php index 8829204a..c78616e9 100644 --- a/app/Template/board/task_footer.php +++ b/app/Template/board/task_footer.php @@ -58,10 +58,10 @@ <?php if (! empty($task['date_due'])): ?> <span class="task-date - <?php if (date('Y-m-d') == date('Y-m-d', $task['date_due'])): ?> - task-date-today - <?php elseif (time() > $task['date_due']): ?> + <?php if (time() > $task['date_due']): ?> task-date-overdue + <?php elseif (date('Y-m-d') == date('Y-m-d', $task['date_due'])): ?> + task-date-today <?php endif ?> "> <i class="fa fa-calendar"></i> |