diff options
author | ashbike <helloashbike@gmail.com> | 2015-02-11 16:52:07 +0530 |
---|---|---|
committer | ashbike <helloashbike@gmail.com> | 2015-02-11 16:52:07 +0530 |
commit | 59ee6f9fee1c8a8245d859c8788d6819223e3d20 (patch) | |
tree | 67d7b02213fd162a00cd29d3021fd1ef5ac4fa5d /app/Template/board/task.php | |
parent | efbf679385773e76cbb436691f63e931c17172d4 (diff) |
Task age and time spent in one column.
Details: https://github.com/fguillot/kanboard/issues/608
Diffstat (limited to 'app/Template/board/task.php')
-rw-r--r-- | app/Template/board/task.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/board/task.php b/app/Template/board/task.php index 41c7ab45..3d3fb269 100644 --- a/app/Template/board/task.php +++ b/app/Template/board/task.php @@ -68,7 +68,10 @@ t('Change assignee') ) ?> </span> - + + <span title="<?= t('Task age in days')?>" class="task-days-age"><?= floor(time()/86400) - floor($task['date_creation']/86400)?>d</span> + <span title="<?= t('Days in this column')?>" class="task-days-incolumn"><?= floor(time()/86400) - floor($task['date_moved']/86400)?>d</span> + <?php if ($task['score']): ?> <span class="task-score"><?= $this->e($task['score']) ?></span> <?php endif ?> |