PHUIPropertyListView
Summary: This builds out and implements PHUIPropertyListView (container) and PHUIPropertyListItemView (section) as well as adding tabs. Test Plan: Tested each page I edited with the exception of Releeph and Phortune, though those changes look ok to me diff wise. Updated examples page with tabs. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7283
This commit is contained in:
@@ -80,7 +80,7 @@ final class DivinerAtomController extends DivinerController {
|
||||
->setBackgroundColor(PhabricatorTagView::COLOR_BLUE)
|
||||
->setName(DivinerAtom::getAtomTypeNameString($atom->getType())));
|
||||
|
||||
$properties = id(new PhabricatorPropertyListView());
|
||||
$properties = id(new PHUIPropertyListView());
|
||||
|
||||
$group = $atom->getProperty('group');
|
||||
if ($group) {
|
||||
@@ -255,7 +255,7 @@ final class DivinerAtomController extends DivinerController {
|
||||
}
|
||||
|
||||
private function buildExtendsAndImplements(
|
||||
PhabricatorPropertyListView $view,
|
||||
PHUIPropertyListView $view,
|
||||
DivinerLiveSymbol $symbol) {
|
||||
|
||||
$lineage = $this->getExtendsLineage($symbol);
|
||||
@@ -335,7 +335,7 @@ final class DivinerAtomController extends DivinerController {
|
||||
}
|
||||
|
||||
private function buildDefined(
|
||||
PhabricatorPropertyListView $view,
|
||||
PHUIPropertyListView $view,
|
||||
DivinerLiveSymbol $symbol) {
|
||||
|
||||
$atom = $symbol->getAtom();
|
||||
|
||||
@@ -85,7 +85,7 @@ final class DivinerBookController extends DivinerController {
|
||||
|
||||
private function buildPropertyList(DivinerLiveBook $book) {
|
||||
$user = $this->getRequest()->getUser();
|
||||
$view = id(new PhabricatorPropertyListView())
|
||||
$view = id(new PHUIPropertyListView())
|
||||
->setUser($user);
|
||||
|
||||
$policies = PhabricatorPolicyQuery::renderPolicyDescriptions(
|
||||
|
||||
Reference in New Issue
Block a user