From 8f3e2b2e5c62a6130f6c8867ab335fb4c1a32c5c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 4 Mar 2016 20:10:34 -0500 Subject: Helper refactoring --- app/Template/event/comment_create.php | 4 ++-- 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 | 8 ++++---- app/Template/event/task_close.php | 4 ++-- app/Template/event/task_create.php | 4 ++-- app/Template/event/task_file_create.php | 4 ++-- app/Template/event/task_move_column.php | 6 +++--- app/Template/event/task_move_position.php | 6 +++--- app/Template/event/task_move_swimlane.php | 8 ++++---- app/Template/event/task_open.php | 4 ++-- app/Template/event/task_update.php | 4 ++-- 13 files changed, 34 insertions(+), 34 deletions(-) (limited to 'app/Template/event') diff --git a/app/Template/event/comment_create.php b/app/Template/event/comment_create.php index 462f15ca..063736b3 100644 --- a/app/Template/event/comment_create.php +++ b/app/Template/event/comment_create.php @@ -2,11 +2,11 @@

e($author), + $this->text->e($author), $this->url->link(t('#%d', $task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ) ?>

- e($task['title']) ?>
+ text->e($task['title']) ?>
text->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 0cb10bf6..93f24d8a 100644 --- a/app/Template/event/comment_update.php +++ b/app/Template/event/comment_update.php @@ -2,10 +2,10 @@

e($author), + $this->text->e($author), $this->url->link(t('#%d', $task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ) ?>

- e($task['title']) ?>
+ text->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 ca23aa9c..532783d5 100644 --- a/app/Template/event/subtask_create.php +++ b/app/Template/event/subtask_create.php @@ -2,16 +2,16 @@

e($author), + $this->text->e($author), $this->url->link(t('#%d', $task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ) ?>

-

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

+

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