Task age and time spent in one column.

Details: https://github.com/fguillot/kanboard/issues/608
This commit is contained in:
ashbike
2015-02-11 16:52:07 +05:30
parent efbf679385
commit 59ee6f9fee
9 changed files with 147 additions and 5 deletions

View File

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