mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 00:10:57 +01:00
Upate notifications for newPage
Summary: Single callsite, swap to `newPage` Test Plan: Visit page, see same status message. Also remove device ready flag. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15610
This commit is contained in:
parent
3317086fdb
commit
23979a05aa
1 changed files with 6 additions and 9 deletions
|
@ -24,15 +24,12 @@ final class PhabricatorNotificationStatusController
|
|||
$crumbs = $this->buildApplicationCrumbs();
|
||||
$crumbs->addTextCrumb(pht('Status'));
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
array(
|
||||
$crumbs,
|
||||
$status,
|
||||
),
|
||||
array(
|
||||
'title' => pht('Notification Server Status'),
|
||||
'device' => false,
|
||||
));
|
||||
$title = pht('Notification Server Status');
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
->setCrumbs($crumbs)
|
||||
->appendChild($status);
|
||||
}
|
||||
|
||||
private function renderServerStatus(array $status) {
|
||||
|
|
Loading…
Reference in a new issue