diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-03-08 22:02:42 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-03-08 22:02:42 -0500 |
commit | f91f3214c12e315afd8984653ea2d9db8408793d (patch) | |
tree | 45de211e61189da032f1646f67c4de2a566558dc /app/Controller/Taskmodification.php | |
parent | d4eea1e252771e5f764c7654c7b9fc1b86b2ce9d (diff) |
Always display project name and task title in task views
Diffstat (limited to 'app/Controller/Taskmodification.php')
-rw-r--r-- | app/Controller/Taskmodification.php | 4 |
1 files changed, 2 insertions, 2 deletions
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, |