summaryrefslogtreecommitdiff
path: root/app/Template/board/task_footer.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-19 17:08:00 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-19 17:08:00 -0500
commit3b3e8033696e408e699b911c042361d62ce7b7ac (patch)
tree33f2d450bbe40a56703cf22f0d62a67a6f6923f5 /app/Template/board/task_footer.php
parentdc7c7667ec2eb648ca097d00c25a00f7cc9a7d19 (diff)
Redesign task list view
Diffstat (limited to 'app/Template/board/task_footer.php')
-rw-r--r--app/Template/board/task_footer.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 74c1b74d..79b7c3e9 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -57,11 +57,11 @@
<?php endif ?>
<?php if (! empty($task['date_due'])): ?>
- <span class="task-board-date
+ <span class="task-date
<?php if (date('Y-m-d') == date('Y-m-d', $task['date_due'])): ?>
- task-board-date-today
+ task-date-today
<?php elseif (time() > $task['date_due']): ?>
- task-board-date-overdue
+ task-date-overdue
<?php endif ?>
">
<i class="fa fa-calendar"></i>
@@ -117,9 +117,9 @@
<?php endif ?>
<?php if ($task['is_active'] == 1): ?>
- <div class="task-board-age">
- <span title="<?= t('Task age in days')?>" class="task-board-age-total"><?= $this->dt->age($task['date_creation']) ?></span>
- <span title="<?= t('Days in this column')?>" class="task-board-age-column"><?= $this->dt->age($task['date_moved']) ?></span>
+ <div class="task-icon-age">
+ <span title="<?= t('Task age in days')?>" class="task-icon-age-total"><?= $this->dt->age($task['date_creation']) ?></span>
+ <span title="<?= t('Days in this column')?>" class="task-icon-age-column"><?= $this->dt->age($task['date_moved']) ?></span>
</div>
<?php else: ?>
<span class="task-board-closed"><i class="fa fa-ban fa-fw"></i><?= t('Closed') ?></span>