1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 06:20:56 +01:00

Modernize Nuance Console page

Summary: Uses UI like Alamanc Console page

Test Plan: Review Console page, click on items.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15581
This commit is contained in:
Chad Little 2016-04-02 12:56:06 -07:00
parent 891661fbe7
commit 64e117f1a5

View file

@ -35,19 +35,25 @@ final class NuanceConsoleController extends NuanceController {
$crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb(pht('Console'));
$crumbs->setBorder(true);
$box = id(new PHUIObjectBoxView())
->setHeaderText(pht('Console'))
->setObjectList($menu);
return $this->buildApplicationPage(
array(
$crumbs,
$header = id(new PHUIHeaderView())
->setHeader(pht('Nuance Console'))
->setHeaderIcon('fa-fax');
$view = id(new PHUITwoColumnView())
->setHeader($header)
->setFooter(array(
$box,
),
array(
'title' => pht('Nuance Console'),
));
return $this->newPage()
->setTitle(pht('Nuance Console'))
->setCrumbs($crumbs)
->appendChild($view);
}
}