Always display project name and task title in task views
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user