diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-07-08 15:07:07 -0300 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-07-08 15:07:07 -0300 |
commit | ba93061f4d844214851d5a22b5a34022ce37e925 (patch) | |
tree | ff52678c22ee04a4ddebe6da5aa8a508abfaf6fd /app/Templates/task_show.php | |
parent | 7a64053cb818931e38af8c9138a259a711ea4da7 (diff) |
Add fields: task creator and modification date
Diffstat (limited to 'app/Templates/task_show.php')
-rw-r--r-- | app/Templates/task_show.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/app/Templates/task_show.php b/app/Templates/task_show.php index 4c3d4697..b28a3a08 100644 --- a/app/Templates/task_show.php +++ b/app/Templates/task_show.php @@ -7,6 +7,11 @@ <li> <?= dt('Created on %B %e, %G at %k:%M %p', $task['date_creation']) ?> </li> + <?php if ($task['date_modification']): ?> + <li> + <?= dt('Last modified on %B %e, %G at %k:%M %p', $task['date_modification']) ?> + </li> + <?php endif ?> <?php if ($task['date_completed']): ?> <li> <?= dt('Completed on %B %e, %G at %k:%M %p', $task['date_completed']) ?> @@ -17,10 +22,15 @@ <strong><?= dt('Must be done before %B %e, %G', $task['date_due']) ?></strong> </li> <?php endif ?> + <?php if ($task['creator_username']): ?> + <li> + <?= t('Created by %s', $task['creator_username']) ?> + </li> + <?php endif ?> <li> <strong> - <?php if ($task['username']): ?> - <?= t('Assigned to %s', $task['username']) ?> + <?php if ($task['assignee_username']): ?> + <?= t('Assigned to %s', $task['assignee_username']) ?> <?php else: ?> <?= t('There is nobody assigned') ?> <?php endif ?> |