Always display project name and task title in task views

This commit is contained in:
Frederic Guillot
2016-03-08 22:02:42 -05:00
parent d4eea1e252
commit f91f3214c1
21 changed files with 70 additions and 31 deletions

View File

@@ -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')