summaryrefslogtreecommitdiff
path: root/templates/task_show.php
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-03-05 22:27:48 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-03-05 22:27:48 -0500
commit544f9924241f9b2caaf83ead203161ea41e5f1cf (patch)
treedcb5ba8a202fee673e395184795f570fd7c905ae /templates/task_show.php
parent1e994f34486da72662ff39f1c3e130e4480e30ab (diff)
Add a 'due date' field and display the number of comments on the board
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 1c5cffaa..59e00b1b 100644
--- a/templates/task_show.php
+++ b/templates/task_show.php
@@ -20,6 +20,11 @@
<?= dt('Completed on %B %e, %G at %k:%M %p', $task['date_completed']) ?>
</li>
<?php endif ?>
+ <?php if ($task['date_due']): ?>
+ <li>
+ <strong><?= dt('Must be done before %B %e, %G', $task['date_due']) ?></strong>
+ </li>
+ <?php endif ?>
<li>
<strong>
<?php if ($task['username']): ?>