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/Tasklink.php | |
parent | d4eea1e252771e5f764c7654c7b9fc1b86b2ce9d (diff) |
Always display project name and task title in task views
Diffstat (limited to 'app/Controller/Tasklink.php')
-rw-r--r-- | app/Controller/Tasklink.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/Controller/Tasklink.php b/app/Controller/Tasklink.php index fdb4fada..dac10f8b 100644 --- a/app/Controller/Tasklink.php +++ b/app/Controller/Tasklink.php @@ -44,6 +44,7 @@ class Tasklink extends Base 'project' => $project, 'editable' => true, 'is_public' => false, + 'show_title' => true, ))); } @@ -56,7 +57,7 @@ class Tasklink extends Base { $task = $this->getTask(); - $this->response->html($this->helper->layout->task('tasklink/create', array( + $this->response->html($this->template->render('tasklink/create', array( 'values' => $values, 'errors' => $errors, 'task' => $task, @@ -106,7 +107,7 @@ class Tasklink extends Base $values['title'] = '#'.$opposite_task['id'].' - '.$opposite_task['title']; } - $this->response->html($this->helper->layout->task('tasklink/edit', array( + $this->response->html($this->template->render('tasklink/edit', array( 'values' => $values, 'errors' => $errors, 'task_link' => $task_link, @@ -150,7 +151,7 @@ class Tasklink extends Base $task = $this->getTask(); $link = $this->getTaskLink(); - $this->response->html($this->helper->layout->task('tasklink/remove', array( + $this->response->html($this->template->render('tasklink/remove', array( 'link' => $link, 'task' => $task, ))); |