summaryrefslogtreecommitdiff
path: root/app/Template/event/task_assignee_change.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_assignee_change.php
parentc5efccd585ee01cc4d63bd89e903e57e3d22d81a (diff)
Change links in event templates
Diffstat (limited to 'app/Template/event/task_assignee_change.php')
-rw-r--r--app/Template/event/task_assignee_change.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/app/Template/event/task_assignee_change.php b/app/Template/event/task_assignee_change.php
index e9815853..6eac412b 100644
--- a/app/Template/event/task_assignee_change.php
+++ b/app/Template/event/task_assignee_change.php
@@ -1,11 +1,9 @@
<p class="activity-title">
- <?= e(
- '%s change the assignee of the task <a href="?controller=task&amp;action=show&amp;task_id=%d">#%d</a> to %s',
+ <?= e('%s changed the assignee of the task %s to %s',
$this->e($author),
- $task_id,
- $task_id,
+ $this->a(t('#%d', $task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])),
$this->e($task['assignee_name'] ?: $task['assignee_username'])
- ) ?>
+ ) ?>
</p>
<p class="activity-description">
<em><?= $this->e($task['title']) ?></em>