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/task_list/task_icons.php | |
parent | 94a86237fc3d8f554170113ab2b5bdcd12586740 (diff) |
Make sure that due datetime is using the right color
Diffstat (limited to 'app/Template/task_list/task_icons.php')
-rw-r--r-- | app/Template/task_list/task_icons.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/task_list/task_icons.php b/app/Template/task_list/task_icons.php index 9545b1e1..03a891a2 100644 --- a/app/Template/task_list/task_icons.php +++ b/app/Template/task_list/task_icons.php @@ -32,10 +32,10 @@ <?php if (! empty($task['date_due'])): ?> <span title="<?= t('Due date') ?>" 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> |