diff options
Diffstat (limited to 'app/Templates')
-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 ?> |