summaryrefslogtreecommitdiff
path: root/app/Template/event/subtask_create.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-26 20:43:08 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-26 20:43:08 -0500
commitc6b9a2a92e60cb4488748d597a9df14c556236d3 (patch)
tree4e02c0bbb0eab622be4c6bcadcb9495d681dc900 /app/Template/event/subtask_create.php
parentb13dba46e7dbe456ee59f65fc0bc3a26dfc9e17d (diff)
Move event and notification templates to a subfolder
Diffstat (limited to 'app/Template/event/subtask_create.php')
-rw-r--r--app/Template/event/subtask_create.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/Template/event/subtask_create.php b/app/Template/event/subtask_create.php
new file mode 100644
index 00000000..664e9da2
--- /dev/null
+++ b/app/Template/event/subtask_create.php
@@ -0,0 +1,19 @@
+<p class="activity-title">
+ <?= e('%s created 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>
+<div class="activity-description">
+ <p><em><?= Helper\escape($task['title']) ?></em></p>
+
+ <ul>
+ <li>
+ <?= Helper\escape($subtask['title']) ?> (<strong><?= Helper\escape($subtask['status_name']) ?></strong>)
+ </li>
+ <li>
+ <?php if ($subtask['username']): ?>
+ <?= t('Assigned to %s with an estimate of %s/%sh', $subtask['name'] ?: $subtask['username'], $subtask['time_spent'], $subtask['time_estimated']) ?>
+ <?php else: ?>
+ <?= t('Not assigned, estimate of %sh', $subtask['time_estimated']) ?>
+ <?php endif ?>
+ </li>
+ </ul>
+</div> \ No newline at end of file