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:
parent
4e7e204ae9
commit
e61e426108
2 changed files with 14 additions and 14 deletions
|
@ -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'),
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue