mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 14:51:06 +01:00
Update Conpherence to newPage
Summary: Updates Conpherence pages to use `newPage` Test Plan: View a Room, view list of joined rooms. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15578
This commit is contained in:
parent
b5f0b58987
commit
5a1990487d
2 changed files with 7 additions and 11 deletions
|
@ -127,11 +127,9 @@ final class ConpherenceListController extends ConpherenceController {
|
|||
$layout->setHeader($this->buildHeaderPaneContent(
|
||||
$conpherence,
|
||||
$policy_objects));
|
||||
$response = $this->buildApplicationPage(
|
||||
$layout,
|
||||
array(
|
||||
'title' => $title,
|
||||
));
|
||||
$response = $this->newPage()
|
||||
->setTitle($title)
|
||||
->appendChild($layout);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -131,12 +131,10 @@ final class ConpherenceViewController extends
|
|||
->setLatestTransactionID($data['latest_transaction_id'])
|
||||
->setRole('thread');
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
$layout,
|
||||
array(
|
||||
'title' => $title,
|
||||
'pageObjects' => array($conpherence->getPHID()),
|
||||
));
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
->setPageObjectPHIDs(array($conpherence->getPHID()))
|
||||
->appendChild($layout);
|
||||
}
|
||||
|
||||
private function renderFormContent() {
|
||||
|
|
Loading…
Reference in a new issue