Merge pull-request #2307

This commit is contained in:
Frederic Guillot 2016-06-07 09:10:34 -04:00
commit e65bf296d8
4 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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;