1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Update Settings for newPage

Summary: Converts over to `newPage`

Test Plan: Pull up Settings panel, test a few.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15625
This commit is contained in:
Chad Little 2016-04-05 13:25:04 -07:00
parent c8995ad0fe
commit 960f8abdf1

View file

@ -61,17 +61,15 @@ final class PhabricatorSettingsMainController
'/p/'.$this->getUser()->getUsername().'/');
}
$crumbs->addTextCrumb($panel->getPanelName());
$nav->appendChild(
array(
$crumbs,
$response,
));
$nav->appendChild($response);
$title = $panel->getPanelName();
return $this->newPage()
->setTitle($title)
->setCrumbs($crumbs)
->setNavigation($nav);
return $this->buildApplicationPage(
$nav,
array(
'title' => $panel->getPanelName(),
));
}
private function buildPanels() {