Change links in notifications
This commit is contained in:
@@ -2,5 +2,5 @@
|
|||||||
Kanboard
|
Kanboard
|
||||||
|
|
||||||
<?php if (isset($application_url) && ! empty($application_url)): ?>
|
<?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 ?>
|
<?php endif ?>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<li>
|
<li>
|
||||||
(<strong>#<?= $task['id'] ?></strong>)
|
(<strong>#<?= $task['id'] ?></strong>)
|
||||||
<?php if ($application_url): ?>
|
<?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: ?>
|
<?php else: ?>
|
||||||
<?= $this->e($task['title']) ?>
|
<?= $this->e($task['title']) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user