summaryrefslogtreecommitdiff
path: root/app/Template/event/task_create.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/event/task_create.php')
-rw-r--r--app/Template/event/task_create.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/event/task_create.php b/app/Template/event/task_create.php
index 36bd4713..de9a7e0d 100644
--- a/app/Template/event/task_create.php
+++ b/app/Template/event/task_create.php
@@ -1,5 +1,8 @@
<p class="activity-title">
- <?= e('%s created 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 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>
<p class="activity-description">
<em><?= $this->e($task['title']) ?></em>