diff --git a/app/Template/notification/footer.php b/app/Template/notification/footer.php index b057a60cb..663a591a3 100644 --- a/app/Template/notification/footer.php +++ b/app/Template/notification/footer.php @@ -2,6 +2,8 @@ Kanboard app->config('application_url') != ''): ?> - - url->absoluteLink(t('view the task on Kanboard'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> + + - url->absoluteLink(t('view the task on Kanboard'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> + - url->absoluteLink(t('view the board on Kanboard'), 'BoardViewController', 'show', array('project_id' => $task['project_id'])) ?> diff --git a/app/Template/notification/subtask_create.php b/app/Template/notification/subtask_create.php index 23df36662..172717243 100644 --- a/app/Template/notification/subtask_create.php +++ b/app/Template/notification/subtask_create.php @@ -4,14 +4,14 @@ render('notification/footer', array('task' => $task)) ?> \ No newline at end of file diff --git a/app/Template/notification/subtask_delete.php b/app/Template/notification/subtask_delete.php index 24562eba6..1f5b12c44 100644 --- a/app/Template/notification/subtask_delete.php +++ b/app/Template/notification/subtask_delete.php @@ -4,7 +4,7 @@ diff --git a/app/Template/notification/subtask_update.php b/app/Template/notification/subtask_update.php index 0c235942c..a6c4e9cc7 100644 --- a/app/Template/notification/subtask_update.php +++ b/app/Template/notification/subtask_update.php @@ -4,18 +4,19 @@ render('notification/footer', array('task' => $task)) ?> \ No newline at end of file diff --git a/app/Template/notification/task_internal_link_create_update.php b/app/Template/notification/task_internal_link_create_update.php index eab96bfa6..4a88ab789 100644 --- a/app/Template/notification/task_internal_link_create_update.php +++ b/app/Template/notification/task_internal_link_create_update.php @@ -3,7 +3,7 @@

url->absoluteLink(t('#%d', $task_link['opposite_task_id']), 'TaskViewController', 'show', array('task_id' => $task_link['opposite_task_id'])), - $this->text->e($task_link['label'])) ?> + e($task_link['label'])) ?>

render('notification/footer', array('task' => $task)) ?> diff --git a/app/Template/notification/task_internal_link_delete.php b/app/Template/notification/task_internal_link_delete.php index e4d570250..2b4b84442 100644 --- a/app/Template/notification/task_internal_link_delete.php +++ b/app/Template/notification/task_internal_link_delete.php @@ -2,7 +2,7 @@

text->e($task_link['label']), + e($task_link['label']), $this->url->absoluteLink(t('#%d', $task_link['opposite_task_id']), 'TaskViewController', 'show', array('task_id' => $task_link['opposite_task_id']))) ?>

diff --git a/app/Template/notification/task_overdue.php b/app/Template/notification/task_overdue.php index 2ad4c14d0..cb954c0b5 100644 --- a/app/Template/notification/task_overdue.php +++ b/app/Template/notification/task_overdue.php @@ -13,14 +13,20 @@ # - + app->config('application_url') !== ''): ?> url->absoluteLink($this->text->e($task['title']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> text->e($task['title']) ?> dt->datetime($task['date_due']) ?> - text->e($task['project_name']) ?> + + app->config('application_url') !== ''): ?> + url->absoluteLink($this->text->e($task['project_name']), 'BoardViewController', 'show', array('project_id' => $task['project_id'])) ?> + + text->e($task['project_name']) ?> + + text->e($task['assignee_name'] ?: $task['assignee_username']) ?> @@ -28,4 +34,4 @@ - + \ No newline at end of file