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/tasklink/show.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'app/Template/tasklink') diff --git a/app/Template/tasklink/show.php b/app/Template/tasklink/show.php index fd8b37a6..82c3d6c9 100644 --- a/app/Template/tasklink/show.php +++ b/app/Template/tasklink/show.php @@ -27,7 +27,7 @@ url->link( - $this->e('#'.$link['task_id'].' '.$link['title']), + $this->text->e('#'.$link['task_id'].' '.$link['title']), 'task', 'readonly', array('task_id' => $link['task_id'], 'token' => $project['token']), @@ -36,7 +36,7 @@ ) ?> url->link( - $this->e('#'.$link['task_id'].' '.$link['title']), + $this->text->e('#'.$link['task_id'].' '.$link['title']), 'task', 'show', array('task_id' => $link['task_id'], 'project_id' => $link['project_id']), @@ -48,21 +48,21 @@
- e($link['task_time_spent']).'h' ?> + text->e($link['task_time_spent']).'h' ?> - e($link['task_time_estimated']).'h' ?> + text->e($link['task_time_estimated']).'h' ?> - e($link['project_name']) ?> - e($link['column_title']) ?> + text->e($link['project_name']) ?> + text->e($link['column_title']) ?> - url->link($this->e($link['task_assignee_name'] ?: $link['task_assignee_username']), 'user', 'show', array('user_id' => $link['task_assignee_id'])) ?> + url->link($this->text->e($link['task_assignee_name'] ?: $link['task_assignee_username']), 'user', 'show', array('user_id' => $link['task_assignee_id'])) ?> - e($link['task_assignee_name'] ?: $link['task_assignee_username']) ?> + text->e($link['task_assignee_name'] ?: $link['task_assignee_username']) ?> -- cgit v1.2.3