Merge pull-request #2307
This commit is contained in:
commit
e65bf296d8
|
|
@ -27,7 +27,11 @@
|
|||
<?php endif ?>
|
||||
|
||||
<?php if (! empty($task['date_due'])): ?>
|
||||
<span class="task-board-date <?= time() > $task['date_due'] ? 'task-board-date-overdue' : '' ?>">
|
||||
<?php if (date('d') == date('d', $task['date_due'])): ?>
|
||||
<span class="task-board-date task-board-date-today">
|
||||
<?php elseif (time() > $task['date_due']): ?>
|
||||
<span class="task-board-date task-board-date-overdue">
|
||||
<?php endif ?>
|
||||
<i class="fa fa-calendar"></i>
|
||||
<?= $this->dt->date($task['date_due']) ?>
|
||||
</span>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -123,6 +123,11 @@ div.task-board-status-closed {
|
|||
color: #000;
|
||||
}
|
||||
|
||||
span.task-board-date-today {
|
||||
color: #0000D9;
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
span.task-board-date-overdue {
|
||||
color: #D90000;
|
||||
opacity: 1.0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue