diff options
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/notification/footer.php | 2 | ||||
-rw-r--r-- | app/Template/notification/task_due.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/notification/footer.php b/app/Template/notification/footer.php index 67039e86..4de1487e 100644 --- a/app/Template/notification/footer.php +++ b/app/Template/notification/footer.php @@ -2,5 +2,5 @@ Kanboard <?php if (isset($application_url) && ! empty($application_url)): ?> - - <a href="<?= $application_url.'?controller=task&action=show&task_id='.$task['id'] ?>"><?= t('view the task on Kanboard') ?></a>. + - <a href="<?= $application_url.$this->u('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><?= t('view the task on Kanboard') ?></a>. <?php endif ?> diff --git a/app/Template/notification/task_due.php b/app/Template/notification/task_due.php index 066ada64..72c8de1b 100644 --- a/app/Template/notification/task_due.php +++ b/app/Template/notification/task_due.php @@ -5,7 +5,7 @@ <li> (<strong>#<?= $task['id'] ?></strong>) <?php if ($application_url): ?> - <a href="<?= $application_url.'?controller=task&action=show&task_id='.$task['id'] ?>"><?= $this->e($task['title']) ?></a> + <a href="<?= $application_url.$this->u('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><?= $this->e($task['title']) ?></a> <?php else: ?> <?= $this->e($task['title']) ?> <?php endif ?> |