summaryrefslogtreecommitdiff
path: root/app/Templates/event_subtask_update.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-10 16:21:47 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-10 16:21:47 +0200
commit28ff8dad91c9e3c25f6a3b5398ae15f2a1ef95cd (patch)
tree0cecc5cbb6e7e6795dd032cc6a5703cd88b8770e /app/Templates/event_subtask_update.php
parent9bde377bbe85617dde280af985e033cf7de61803 (diff)
Add subtasks and comments history
Diffstat (limited to 'app/Templates/event_subtask_update.php')
-rw-r--r--app/Templates/event_subtask_update.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/Templates/event_subtask_update.php b/app/Templates/event_subtask_update.php
new file mode 100644
index 00000000..9862f997
--- /dev/null
+++ b/app/Templates/event_subtask_update.php
@@ -0,0 +1,12 @@
+<p class="activity-title">
+ <?= e('%s updated a subtask for the task <a href="?controller=task&amp;action=show&amp;task_id=%d">#%d</a>', Helper\escape($author), $task_id, $task_id) ?>
+</p>
+<p class="activity-description">
+ <em><?= Helper\escape($task_title) ?></em><br/>
+ <p><?= Helper\escape($subtask_title) ?> <strong>(<?= Helper\in_list($subtask_status, $subtask_status_list) ?>)</strong></p>
+ <?php if ($subtask_assignee): ?>
+ <p><?= t('Assigned to %s with estimate of %s/%sh', $subtask_assignee, $subtask_time_spent, $subtask_time_estimated) ?></p>
+ <?php else: ?>
+ <p><?= t('Not assigned, estimate of %sh', $subtask_time_estimated) ?></p>
+ <?php endif ?>
+</p> \ No newline at end of file