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/Comment.php | |
parent | d4eea1e252771e5f764c7654c7b9fc1b86b2ce9d (diff) |
Always display project name and task title in task views
Diffstat (limited to 'app/Controller/Comment.php')
-rw-r--r-- | app/Controller/Comment.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/Controller/Comment.php b/app/Controller/Comment.php index da3213e0..ff7ec305 100644 --- a/app/Controller/Comment.php +++ b/app/Controller/Comment.php @@ -47,11 +47,10 @@ class Comment extends Base ); } - $this->response->html($this->helper->layout->task('comment/create', array( + $this->response->html($this->template->render('comment/create', array( 'values' => $values, 'errors' => $errors, 'task' => $task, - 'title' => t('Add a comment'), ))); } @@ -90,7 +89,7 @@ class Comment extends Base $task = $this->getTask(); $comment = $this->getComment(); - $this->response->html($this->helper->layout->task('comment/edit', array( + $this->response->html($this->template->render('comment/edit', array( 'values' => empty($values) ? $comment : $values, 'errors' => $errors, 'comment' => $comment, @@ -135,7 +134,7 @@ class Comment extends Base $task = $this->getTask(); $comment = $this->getComment(); - $this->response->html($this->helper->layout->task('comment/remove', array( + $this->response->html($this->template->render('comment/remove', array( 'comment' => $comment, 'task' => $task, 'title' => t('Remove a comment') |