Skip to content
Snippets Groups Projects
Commit 92223987 authored by Christopher Johnson's avatar Christopher Johnson
Browse files

changes buildApplicationPage() to newPage()

ref upstream change https://secure.phabricator.com/rP2201c65eb73fb99b8625bea45c273d262f2c289f 23/08/2016
Bug:T144295

Change-Id: Ib1344daf30ea28a66416e9c5a3b2dcb544a11654
parent c16a0439
Branches
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ final class SprintHistoryController extends SprintController {
}
$error_box = null;
$sprintlist_table = null;
$history_model = id(new SprintHistoryDataProvider())
->setViewer($this->viewer)
->setRequest($request)
......@@ -60,12 +61,9 @@ final class SprintHistoryController extends SprintController {
$help,
$sprintlist_table,
));
return $this->buildApplicationPage(
$nav,
array(
'title' => array(pht('Task Project History')),
'device' => true,
));
$title = pht('Task Project History');
return $this->newPage()
->setTitle($title)
->appendChild($nav);
}
}
......@@ -42,12 +42,9 @@ final class SprintListController extends SprintController {
$help,
$sprintlist_table,
));
return $this->buildApplicationPage(
$nav,
array(
'title' => array(pht('Sprint List')),
'device' => true,
));
$title = pht('Sprint List');
return $this->newPage()
->setTitle($title)
->appendChild($nav);
}
}
......@@ -58,12 +58,9 @@ final class SprintReportController extends SprintController {
$this->buildSprintApplicationCrumbs($can_create)
->setBorder(true)
->addTextCrumb(pht('Reports')));
return $this->buildApplicationPage(
$nav,
array(
'title' => pht('Sprint Reports'),
'device' => false,
));
$title = pht('Sprint Reports');
return $this->newPage()
->setTitle($title)
->appendChild($nav);
}
}
......@@ -18,7 +18,7 @@ final class SprintHistoryTableView extends SprintView {
public function render() {
require_celerity_resource('sprint-report-css', 'sprint');
$filter = $this->BuildFilter($this->request);
$filter = $this->buildFilter($this->viewer, $this->request);
if ($this->request->getStr('project')) {
$table = $this->buildProjectsTable();
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment