summaryrefslogtreecommitdiff
path: root/app/Template/event/subtask_create.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/event/subtask_create.php')
-rw-r--r--app/Template/event/subtask_create.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/event/subtask_create.php b/app/Template/event/subtask_create.php
index 3572031f..1cc7585c 100644
--- a/app/Template/event/subtask_create.php
+++ b/app/Template/event/subtask_create.php
@@ -1,5 +1,8 @@
<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>', $this->e($author), $task_id, $task_id) ?>
+ <?= e('%s created a subtask for the task %s',
+ $this->e($author),
+ $this->a(t('#%d', $task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']))
+ ) ?>
</p>
<div class="activity-description">
<p><em><?= $this->e($task['title']) ?></em></p>