diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-10-08 09:53:46 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-10-08 09:53:46 -0400 |
commit | 5e2e0272ed78e3b729d5673da3e957ce68a30fa2 (patch) | |
tree | f83973ae51d53ab62b1b89afd6559e5056be6457 /app/Template/notification/footer.php | |
parent | e5c449788a4239720b34e15d7441ff996c11231b (diff) |
Send absolute links in email notifications
Diffstat (limited to 'app/Template/notification/footer.php')
-rw-r--r-- | app/Template/notification/footer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/notification/footer.php b/app/Template/notification/footer.php index 6ac260cb..da437eea 100644 --- a/app/Template/notification/footer.php +++ b/app/Template/notification/footer.php @@ -2,6 +2,6 @@ Kanboard <?php if (isset($application_url) && ! empty($application_url)): ?> - - <a href="<?= $this->url->href('TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', true) ?>"><?= t('view the task on Kanboard') ?></a> - - <a href="<?= $this->url->href('BoardViewController', 'show', array('project_id' => $task['project_id']), false, '', true) ?>"><?= t('view the board on Kanboard') ?></a> + - <?= $this->url->absoluteLink(t('view the task on Kanboard'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> + - <?= $this->url->absoluteLink(t('view the board on Kanboard'), 'BoardViewController', 'show', array('project_id' => $task['project_id'])) ?> <?php endif ?> |