Change links in event templates

This commit is contained in:
Frederic Guillot
2015-01-06 22:24:35 -05:00
parent c5efccd585
commit cda7c0f997
25 changed files with 205 additions and 173 deletions

View File

@@ -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>