Change links in event templates
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s commented the task <a href="?controller=task&action=show&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/>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s updated a comment on the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', $this->e($author), $task_id, $task_id) ?>
|
||||
<?= e('%s updated a comment on 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/>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s created a subtask for the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', $this->e($author), $task_id, $task_id) ?>
|
||||
<?= e('%s created 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>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s updated a subtask for the task <a href="?controller=task&action=show&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>
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
<p class="activity-title">
|
||||
<?= e(
|
||||
'%s change the assignee of the task <a href="?controller=task&action=show&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>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s closed the task <a href="?controller=task&action=show&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>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s created the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', $this->e($author), $task_id, $task_id) ?>
|
||||
<?= e('%s created 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>
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s moved the task <a href="?controller=task&action=show&task_id=%d">#%d</a> to the column "%s"', $this->e($author), $task_id, $task_id, $this->e($task['column_title'])) ?>
|
||||
<?= e('%s moved the task %s to the column "%s"',
|
||||
$this->e($author),
|
||||
$this->a(t('#%d', $task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])),
|
||||
$this->e($task['column_title'])
|
||||
) ?>
|
||||
</p>
|
||||
<p class="activity-description">
|
||||
<em><?= $this->e($task['title']) ?></em>
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s moved the task <a href="?controller=task&action=show&task_id=%d">#%d</a> to the position #%d in the column "%s"', $this->e($author), $task_id, $task_id, $task['position'], $this->e($task['column_title'])) ?>
|
||||
<?= e('%s moved the task %s to the position #%d in the column "%s"',
|
||||
$this->e($author),
|
||||
$this->a(t('#%d', $task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])),
|
||||
$task['position'],
|
||||
$this->e($task['column_title'])
|
||||
) ?>
|
||||
</p>
|
||||
<p class="activity-description">
|
||||
<em><?= $this->e($task['title']) ?></em>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s open the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', $this->e($author), $task_id, $task_id) ?>
|
||||
<?= e('%s opened 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>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s updated the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', $this->e($author), $task_id, $task_id) ?>
|
||||
<?= e('%s updated 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>
|
||||
|
||||
Reference in New Issue
Block a user