From 34d7450d3c13342715e90ec21bceaa13e1baa876 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 28 Dec 2014 11:28:50 -0500 Subject: Template helpers refactoring --- app/Template/notification/comment_creation.php | 6 +++--- app/Template/notification/comment_update.php | 6 +++--- app/Template/notification/file_creation.php | 4 ++-- app/Template/notification/subtask_creation.php | 12 ++++++------ app/Template/notification/subtask_update.php | 14 +++++++------- app/Template/notification/task_assignee_change.php | 6 +++--- app/Template/notification/task_close.php | 4 ++-- app/Template/notification/task_creation.php | 12 ++++++------ app/Template/notification/task_due.php | 6 +++--- app/Template/notification/task_move_column.php | 8 ++++---- app/Template/notification/task_move_position.php | 8 ++++---- app/Template/notification/task_open.php | 4 ++-- app/Template/notification/task_update.php | 12 ++++++------ 13 files changed, 51 insertions(+), 51 deletions(-) (limited to 'app/Template/notification') diff --git a/app/Template/notification/comment_creation.php b/app/Template/notification/comment_creation.php index 52f82a92..b28e261a 100644 --- a/app/Template/notification/comment_creation.php +++ b/app/Template/notification/comment_creation.php @@ -1,7 +1,7 @@ -

(#)

+

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

- +markdown($comment['comment']) ?> - $task, 'application_url' => $application_url)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/comment_update.php b/app/Template/notification/comment_update.php index 8f613eb2..88154f0b 100644 --- a/app/Template/notification/comment_update.php +++ b/app/Template/notification/comment_update.php @@ -1,7 +1,7 @@ -

(#)

+

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

- +markdown($comment['comment']) ?> - $task, 'application_url' => $application_url)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/file_creation.php b/app/Template/notification/file_creation.php index aae6fee9..63f7d1b8 100644 --- a/app/Template/notification/file_creation.php +++ b/app/Template/notification/file_creation.php @@ -1,5 +1,5 @@ -

(#)

+

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

- $task, 'application_url' => $application_url)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/subtask_creation.php b/app/Template/notification/subtask_creation.php index b264ef49..e1c62b73 100644 --- a/app/Template/notification/subtask_creation.php +++ b/app/Template/notification/subtask_creation.php @@ -1,17 +1,17 @@ -

(#)

+

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

- $task, 'application_url' => $application_url)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/subtask_update.php b/app/Template/notification/subtask_update.php index 08b7d97f..cfde9db6 100644 --- a/app/Template/notification/subtask_update.php +++ b/app/Template/notification/subtask_update.php @@ -1,21 +1,21 @@ -

(#)

+

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

- $task, 'application_url' => $application_url)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ 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 14beef13..faab92f3 100644 --- a/app/Template/notification/task_assignee_change.php +++ b/app/Template/notification/task_assignee_change.php @@ -1,4 +1,4 @@ -

(#)

+

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

- $task)) ?> +render('notification/footer', array('task' => $task)) ?> diff --git a/app/Template/notification/task_move_column.php b/app/Template/notification/task_move_column.php index 36f4daed..88ab8ab5 100644 --- a/app/Template/notification/task_move_column.php +++ b/app/Template/notification/task_move_column.php @@ -1,11 +1,11 @@ -

(#)

+

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

- $task, 'application_url' => $application_url)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/task_move_position.php b/app/Template/notification/task_move_position.php index 36f4daed..88ab8ab5 100644 --- a/app/Template/notification/task_move_position.php +++ b/app/Template/notification/task_move_position.php @@ -1,11 +1,11 @@ -

(#)

+

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

- $task, 'application_url' => $application_url)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/task_open.php b/app/Template/notification/task_open.php index 6ee10242..cb02a79c 100644 --- a/app/Template/notification/task_open.php +++ b/app/Template/notification/task_open.php @@ -1,5 +1,5 @@ -

(#)

+

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

- $task, 'application_url' => $application_url)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/task_update.php b/app/Template/notification/task_update.php index cbd6b2e1..71e949dd 100644 --- a/app/Template/notification/task_update.php +++ b/app/Template/notification/task_update.php @@ -1,4 +1,4 @@ -

(#)

+

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

- + markdown($task['description']) ?: t('There is no description.') ?> - $task, 'application_url' => $application_url)) ?> \ No newline at end of file +render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ No newline at end of file -- cgit v1.2.3