From f91f3214c12e315afd8984653ea2d9db8408793d Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 8 Mar 2016 22:02:42 -0500 Subject: Always display project name and task title in task views --- app/Controller/Taskmodification.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Controller/Taskmodification.php') diff --git a/app/Controller/Taskmodification.php b/app/Controller/Taskmodification.php index 5fcb810c..6b945f37 100644 --- a/app/Controller/Taskmodification.php +++ b/app/Controller/Taskmodification.php @@ -37,7 +37,7 @@ class Taskmodification extends Base $values = array('id' => $task['id'], 'description' => $task['description']); } - $this->response->html($this->helper->layout->task('task_modification/edit_description', array( + $this->response->html($this->template->render('task_modification/edit_description', array( 'values' => $values, 'errors' => $errors, 'task' => $task, @@ -88,7 +88,7 @@ class Taskmodification extends Base $values = $this->dateParser->format($values, array('date_due'), $this->config->get('application_date_format', DateParser::DATE_FORMAT)); $values = $this->dateParser->format($values, array('date_started'), $this->config->get('application_datetime_format', DateParser::DATE_TIME_FORMAT)); - $this->response->html($this->helper->layout->task('task_modification/edit_task', array( + $this->response->html($this->template->render('task_modification/edit_task', array( 'project' => $project, 'values' => $values, 'errors' => $errors, -- cgit v1.2.3