Use ObjectBoxView for Config pages
Summary: Doing to start to try to remove all the 'purple' PHUIHeaders around Phabricator and see what's left after.
Test Plan:
View each page
{F171007}
Reviewers: epriestley
Reviewed By: epriestley
Differential Revision: https://secure.phabricator.com/D9750
This commit is contained in:
@@ -20,12 +20,12 @@ final class PhabricatorConfigGroupController
|
||||
}
|
||||
|
||||
$title = pht('%s Configuration', $options->getName());
|
||||
|
||||
$header = id(new PHUIHeaderView())
|
||||
->setHeader($title);
|
||||
|
||||
$list = $this->buildOptionList($options->getOptions());
|
||||
|
||||
$box = id(new PHUIObjectBoxView())
|
||||
->setHeaderText($title)
|
||||
->appendChild($list);
|
||||
|
||||
$crumbs = $this
|
||||
->buildApplicationCrumbs()
|
||||
->addTextCrumb(pht('Config'), $this->getApplicationURI())
|
||||
@@ -34,8 +34,7 @@ final class PhabricatorConfigGroupController
|
||||
return $this->buildApplicationPage(
|
||||
array(
|
||||
$crumbs,
|
||||
$header,
|
||||
$list,
|
||||
$box,
|
||||
),
|
||||
array(
|
||||
'title' => $title,
|
||||
|
||||
Reference in New Issue
Block a user