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:
Chad Little
2014-06-27 08:28:33 -07:00
parent 99b839948c
commit 7ec09d3924
6 changed files with 25 additions and 19 deletions

View File

@@ -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,