diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-06 22:46:28 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-06 22:46:28 -0500 |
commit | bcd727effad93e5482e8c55ca6f235dcf00d8d16 (patch) | |
tree | ff3a6526c74552810d3d46f9ba420af6f0a56d2c /app/Template | |
parent | cda7c0f997220e7c433df355e5653353a40663bf (diff) |
Change links in notifications
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 ?> |