summaryrefslogtreecommitdiff
path: root/templates/task_show.php
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-02-22 13:37:06 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-02-22 13:37:06 -0500
commita1923d3d7f9276e859d6fd6bee339f0ea00f6544 (patch)
tree84caca943de5d0e016455ea2f6896d0b697fdf05 /templates/task_show.php
parentfd28d50597d4f255ba9514e0fc03c8cb67c86f22 (diff)
Add a page to display completed tasks and add the completion date column for tasks
Diffstat (limited to 'templates/task_show.php')
-rw-r--r--templates/task_show.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/task_show.php b/templates/task_show.php
index 99738f9c..f09f249e 100644
--- a/templates/task_show.php
+++ b/templates/task_show.php
@@ -12,6 +12,11 @@
<li>
<?= dt('Created on %B %e, %G at %k:%M %p', $task['date_creation']) ?>
</li>
+ <?php if ($task['date_completed']): ?>
+ <li>
+ <?= dt('Completed on %B %e, %G at %k:%M %p', $task['date_completed']) ?>
+ </li>
+ <?php endif ?>
<li>
<strong>
<?php if ($task['username']): ?>