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,5 +1,8 @@
<p class="activity-title">
<?= e('%s updated a subtask for the task <a href="?controller=task&amp;action=show&amp;task_id=%d">#%d</a>', $this->e($author), $task_id, $task_id) ?>
<?= e('%s updated a subtask for 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">
<p><em><?= $this->e($task['title']) ?></em></p>