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') != ''): ?>
- - = $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 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'])) ?>
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 @@
- = t('Title:') ?> = $this->text->e($subtask['title']) ?>
- - = t('Status:') ?> = $this->text->e($subtask['status_name']) ?>
+ - = t('Status:') ?> = t($subtask['status_name']) ?>
- = t('Assignee:') ?> = $this->text->e($subtask['name'] ?: $subtask['username'] ?: '?') ?>
- -
- = t('Time tracking:') ?>
-
+
+
-
+ = t('Time tracking:') ?>
= $this->text->e($subtask['time_estimated']).'h' ?> = t('estimated') ?>
-
-
+
+
= $this->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 @@
- = t('Title:') ?> = $this->text->e($subtask['title']) ?>
- - = t('Status:') ?> = $this->text->e($subtask['status_name']) ?>
+ - = t('Status:') ?> = t($subtask['status_name']) ?>
- = t('Assignee:') ?> = $this->text->e($subtask['name'] ?: $subtask['username'] ?: '?') ?>
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 @@
- = t('Title:') ?> = $this->text->e($subtask['title']) ?>
- - = t('Status:') ?> = $this->text->e($subtask['status_name']) ?>
+ - = t('Status:') ?> = t($subtask['status_name']) ?>
- = t('Assignee:') ?> = $this->text->e($subtask['name'] ?: $subtask['username'] ?: '?') ?>
+
-
= t('Time tracking:') ?>
= $this->text->e($subtask['time_spent']).'h' ?> = t('spent') ?>
-
= $this->text->e($subtask['time_estimated']).'h' ?> = t('estimated') ?>
+
= $this->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 @@
= e('This task is now linked to the task %s with the relation "%s"',
$this->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'])) ?>
= $this->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 @@
= e('The link with the relation "%s" to the task %s has been removed',
- $this->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 @@
| #= $task['id'] ?> |
-
+ app->config('application_url') !== ''): ?>
= $this->url->absoluteLink($this->text->e($task['title']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
= $this->text->e($task['title']) ?>
|
= $this->dt->datetime($task['date_due']) ?> |
- = $this->text->e($task['project_name']) ?> |
+
+ app->config('application_url') !== ''): ?>
+ = $this->url->absoluteLink($this->text->e($task['project_name']), 'BoardViewController', 'show', array('project_id' => $task['project_id'])) ?>
+
+ = $this->text->e($task['project_name']) ?>
+
+ |
= $this->text->e($task['assignee_name'] ?: $task['assignee_username']) ?>
@@ -28,4 +34,4 @@
|
-
+
\ No newline at end of file