mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52: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:
parent
c8995ad0fe
commit
960f8abdf1
1 changed files with 8 additions and 10 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue