Make sure that due datetime is using the right color
This commit is contained in:
parent
94a86237fc
commit
e70f904ed4
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue