diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-10-11 21:11:10 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-10-11 21:11:10 -0400 |
commit | acba6839a6082e3e3800a733f8baea7c843fc02e (patch) | |
tree | e2847dcd13d9ccc3d8f0f6f936a5776df852e11b /app/Templates/task_details.php | |
parent | a8418afdebe92dde495bc5010645779c73939b7b (diff) |
Add 3 new fields for tasks: start date, time estimated and time spent
Diffstat (limited to 'app/Templates/task_details.php')
-rw-r--r-- | app/Templates/task_details.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Templates/task_details.php b/app/Templates/task_details.php index 8766beac..a4fdf6ce 100644 --- a/app/Templates/task_details.php +++ b/app/Templates/task_details.php @@ -22,11 +22,26 @@ <?= dt('Completed on %B %e, %Y at %k:%M %p', $task['date_completed']) ?> </li> <?php endif ?> + <?php if ($task['date_started']): ?> + <li> + <?= dt('Started on %B %e, %Y', $task['date_started']) ?> + </li> + <?php endif ?> <?php if ($task['date_due']): ?> <li> <strong><?= dt('Must be done before %B %e, %Y', $task['date_due']) ?></strong> </li> <?php endif ?> + <?php if ($task['time_estimated']): ?> + <li> + <?= t('Estimated time: %s hours', $task['time_estimated']) ?> + </li> + <?php endif ?> + <?php if ($task['time_spent']): ?> + <li> + <?= t('Time spent: %s hours', $task['time_spent']) ?> + </li> + <?php endif ?> <?php if ($task['creator_username']): ?> <li> <?= t('Created by %s', $task['creator_name'] ?: $task['creator_username']) ?> |