mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-25 14:08:19 +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(
|
$layout->setHeader($this->buildHeaderPaneContent(
|
||||||
$conpherence,
|
$conpherence,
|
||||||
$policy_objects));
|
$policy_objects));
|
||||||
$response = $this->buildApplicationPage(
|
$response = $this->newPage()
|
||||||
$layout,
|
->setTitle($title)
|
||||||
array(
|
->appendChild($layout);
|
||||||
'title' => $title,
|
|
||||||
));
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -131,12 +131,10 @@ final class ConpherenceViewController extends
|
||||||
->setLatestTransactionID($data['latest_transaction_id'])
|
->setLatestTransactionID($data['latest_transaction_id'])
|
||||||
->setRole('thread');
|
->setRole('thread');
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->newPage()
|
||||||
$layout,
|
->setTitle($title)
|
||||||
array(
|
->setPageObjectPHIDs(array($conpherence->getPHID()))
|
||||||
'title' => $title,
|
->appendChild($layout);
|
||||||
'pageObjects' => array($conpherence->getPHID()),
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private function renderFormContent() {
|
private function renderFormContent() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue