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/event/comment_create.php | 6 +++--- app/Template/event/comment_update.php | 4 ++-- app/Template/event/subtask_create.php | 6 +++--- app/Template/event/subtask_update.php | 6 +++--- app/Template/event/task_assignee_change.php | 6 +++--- app/Template/event/task_close.php | 4 ++-- app/Template/event/task_create.php | 4 ++-- app/Template/event/task_move_column.php | 4 ++-- app/Template/event/task_move_position.php | 4 ++-- app/Template/event/task_open.php | 4 ++-- app/Template/event/task_update.php | 4 ++-- 11 files changed, 26 insertions(+), 26 deletions(-) (limited to 'app/Template/event') diff --git a/app/Template/event/comment_create.php b/app/Template/event/comment_create.php index d2f6f97b..ee985ed1 100644 --- a/app/Template/event/comment_create.php +++ b/app/Template/event/comment_create.php @@ -1,7 +1,7 @@

- #%d', Helper\escape($author), $task_id, $task_id) ?> + #%d', $this->e($author), $task_id, $task_id) ?>

-
-
+ e($task['title']) ?>
+
markdown($comment['comment']) ?>
\ No newline at end of file diff --git a/app/Template/event/comment_update.php b/app/Template/event/comment_update.php index c0b43622..93418159 100644 --- a/app/Template/event/comment_update.php +++ b/app/Template/event/comment_update.php @@ -1,6 +1,6 @@

- #%d', Helper\escape($author), $task_id, $task_id) ?> + #%d', $this->e($author), $task_id, $task_id) ?>

-
+ e($task['title']) ?>
\ No newline at end of file diff --git a/app/Template/event/subtask_create.php b/app/Template/event/subtask_create.php index 664e9da2..3572031f 100644 --- a/app/Template/event/subtask_create.php +++ b/app/Template/event/subtask_create.php @@ -1,12 +1,12 @@

- #%d', Helper\escape($author), $task_id, $task_id) ?> + #%d', $this->e($author), $task_id, $task_id) ?>

-

+

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