summaryrefslogtreecommitdiff
path: root/app/Template/event/comment_create.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-01-06 22:24:35 -0500
committerFrederic Guillot <fred@kanboard.net>2015-01-06 22:24:35 -0500
commitcda7c0f997220e7c433df355e5653353a40663bf (patch)
tree13690522f38853d8b253d88729759c96e7ce5983 /app/Template/event/comment_create.php
parentc5efccd585ee01cc4d63bd89e903e57e3d22d81a (diff)
Change links in event templates
Diffstat (limited to 'app/Template/event/comment_create.php')
-rw-r--r--app/Template/event/comment_create.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/event/comment_create.php b/app/Template/event/comment_create.php
index ee985ed1..fd046fd1 100644
--- a/app/Template/event/comment_create.php
+++ b/app/Template/event/comment_create.php
@@ -1,5 +1,8 @@
<p class="activity-title">
- <?= e('%s commented the task <a href="?controller=task&amp;action=show&amp;task_id=%d">#%d</a>', $this->e($author), $task_id, $task_id) ?>
+ <?= e('%s commented 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">
<em><?= $this->e($task['title']) ?></em><br/>