summaryrefslogtreecommitdiff
path: root/app/Template/event/task_close.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/task_close.php
parentc5efccd585ee01cc4d63bd89e903e57e3d22d81a (diff)
Change links in event templates
Diffstat (limited to 'app/Template/event/task_close.php')
-rw-r--r--app/Template/event/task_close.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/event/task_close.php b/app/Template/event/task_close.php
index 6ab476bd..b5ad4d1d 100644
--- a/app/Template/event/task_close.php
+++ b/app/Template/event/task_close.php
@@ -1,5 +1,8 @@
<p class="activity-title">
- <?= e('%s closed the task <a href="?controller=task&amp;action=show&amp;task_id=%d">#%d</a>', $this->e($author), $task_id, $task_id) ?>
+ <?= e('%s closed 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>