From 11b6bf6d25668b8bb9d0304c30f803f8194ab1d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Sat, 27 Apr 2019 20:45:21 -0700 Subject: [PATCH] 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 ++++ .../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(-) diff --git a/app/Template/notification/comment_create.php b/app/Template/notification/comment_create.php index 8b8251c63..1f890a5f4 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 d49f10b82..224fcdb51 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 c22e8f1a1..87c785ccc 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 a3f387beb..afa3aa7e3 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 094ac5436..f5b91d340 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 1f5b12c44..eaf51e447 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 a69567928..95663e80f 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 608d8d722..de47e56a6 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']) ?> (#)