From 11b6bf6d25668b8bb9d0304c30f803f8194ab1d8 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 27 Apr 2019 20:45:21 -0700 Subject: Add HTML tag in email notifications --- app/Template/notification/comment_create.php | 6 +++++- app/Template/notification/comment_delete.php | 4 ++++ app/Template/notification/comment_update.php | 6 +++++- app/Template/notification/comment_user_mention.php | 6 +++++- app/Template/notification/subtask_create.php | 6 +++++- app/Template/notification/subtask_delete.php | 4 ++++ app/Template/notification/subtask_update.php | 6 +++++- app/Template/notification/task_assignee_change.php | 6 +++++- app/Template/notification/task_close.php | 6 +++++- app/Template/notification/task_create.php | 6 +++++- app/Template/notification/task_file_create.php | 4 ++++ app/Template/notification/task_file_destroy.php | 4 ++++ app/Template/notification/task_internal_link_create_update.php | 4 ++++ app/Template/notification/task_internal_link_delete.php | 4 ++++ app/Template/notification/task_move_column.php | 6 +++++- app/Template/notification/task_move_position.php | 6 +++++- app/Template/notification/task_move_project.php | 4 ++++ app/Template/notification/task_move_swimlane.php | 6 +++++- app/Template/notification/task_open.php | 4 ++++ app/Template/notification/task_overdue.php | 6 +++++- app/Template/notification/task_update.php | 6 +++++- app/Template/notification/task_user_mention.php | 6 +++++- 22 files changed, 102 insertions(+), 14 deletions(-) (limited to 'app/Template') diff --git a/app/Template/notification/comment_create.php b/app/Template/notification/comment_create.php index 8b8251c6..1f890a5f 100644 --- a/app/Template/notification/comment_create.php +++ b/app/Template/notification/comment_create.php @@ -1,3 +1,5 @@ + +

text->e($task['title']) ?> (#)

@@ -8,4 +10,6 @@ text->markdown($comment['comment'], true) ?> -render('notification/footer', array('task' => $task)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task)) ?> + + \ No newline at end of file diff --git a/app/Template/notification/comment_delete.php b/app/Template/notification/comment_delete.php index d49f10b8..224fcdb5 100644 --- a/app/Template/notification/comment_delete.php +++ b/app/Template/notification/comment_delete.php @@ -1,3 +1,5 @@ + +

text->e($task['title']) ?> (#)

@@ -5,3 +7,5 @@ text->markdown($comment['comment'], true) ?> render('notification/footer', array('task' => $task)) ?> + + \ No newline at end of file diff --git a/app/Template/notification/comment_update.php b/app/Template/notification/comment_update.php index c22e8f1a..87c785cc 100644 --- a/app/Template/notification/comment_update.php +++ b/app/Template/notification/comment_update.php @@ -1,7 +1,11 @@ + +

text->e($task['title']) ?> (#)

text->markdown($comment['comment'], true) ?> -render('notification/footer', array('task' => $task)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task)) ?> + + \ No newline at end of file diff --git a/app/Template/notification/comment_user_mention.php b/app/Template/notification/comment_user_mention.php index a3f387be..afa3aa7e 100644 --- a/app/Template/notification/comment_user_mention.php +++ b/app/Template/notification/comment_user_mention.php @@ -1,7 +1,11 @@ + +

text->e($task['title']) ?>

text->markdown($comment['comment'], true) ?> -render('notification/footer', array('task' => $task)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task)) ?> + + \ No newline at end of file diff --git a/app/Template/notification/subtask_create.php b/app/Template/notification/subtask_create.php index 094ac543..f5b91d34 100644 --- a/app/Template/notification/subtask_create.php +++ b/app/Template/notification/subtask_create.php @@ -1,3 +1,5 @@ + +

text->e($task['title']) ?> (#)

@@ -14,4 +16,6 @@ -render('notification/footer', array('task' => $task)) ?> \ No newline at end of file +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 1f5b12c4..eaf51e44 100644 --- a/app/Template/notification/subtask_delete.php +++ b/app/Template/notification/subtask_delete.php @@ -1,3 +1,5 @@ + +

text->e($task['title']) ?> (#)

@@ -9,3 +11,5 @@ render('notification/footer', array('task' => $task)) ?> + + \ No newline at end of file diff --git a/app/Template/notification/subtask_update.php b/app/Template/notification/subtask_update.php index a6956792..95663e80 100644 --- a/app/Template/notification/subtask_update.php +++ b/app/Template/notification/subtask_update.php @@ -1,3 +1,5 @@ + +

text->e($task['title']) ?> (#)

@@ -20,4 +22,6 @@ -render('notification/footer', array('task' => $task)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task)) ?> + + \ No newline at end of file diff --git a/app/Template/notification/task_assignee_change.php b/app/Template/notification/task_assignee_change.php index 608d8d72..de47e56a 100644 --- a/app/Template/notification/task_assignee_change.php +++ b/app/Template/notification/task_assignee_change.php @@ -1,3 +1,5 @@ + +

text->e($task['title']) ?> (#)