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

Update Facts for newPage

Summary: No UI updates, just swapping over to `newPage`

Test Plan: Pull up each page.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, yelirekim

Differential Revision: https://secure.phabricator.com/D15601
This commit is contained in:
Chad Little 2016-04-03 14:24:51 -07:00
parent 4e7e204ae9
commit e61e426108
2 changed files with 14 additions and 14 deletions

View file

@ -77,14 +77,13 @@ final class PhabricatorFactChartController extends PhabricatorFactController {
$crumbs = $this->buildApplicationCrumbs(); $crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb(pht('Chart')); $crumbs->addTextCrumb(pht('Chart'));
return $this->buildApplicationPage( $title = pht('Chart');
array(
$crumbs, return $this->newPage()
$box, ->setTitle($title)
), ->setCrumbs($crumbs)
array( ->appendChild($box);
'title' => pht('Chart'),
));
} }
} }

View file

@ -59,15 +59,16 @@ final class PhabricatorFactHomeController extends PhabricatorFactController {
$crumbs = $this->buildApplicationCrumbs(); $crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb(pht('Home')); $crumbs->addTextCrumb(pht('Home'));
return $this->buildApplicationPage( $title = pht('Facts');
array(
$crumbs, return $this->newPage()
->setTitle($title)
->setCrumbs($crumbs)
->appendChild(array(
$chart_form, $chart_form,
$panel, $panel,
),
array(
'title' => pht('Facts'),
)); ));
} }
private function buildChartForm() { private function buildChartForm() {