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:
@@ -147,7 +147,7 @@ final class DiffusionRepositoryController extends DiffusionController {
|
||||
|
||||
$actions = $this->buildActionList($repository);
|
||||
|
||||
$view = id(new PhabricatorPropertyListView())
|
||||
$view = id(new PHUIPropertyListView())
|
||||
->setUser($user);
|
||||
$view->addProperty(pht('Callsign'), $repository->getCallsign());
|
||||
|
||||
@@ -174,10 +174,11 @@ final class DiffusionRepositoryController extends DiffusionController {
|
||||
$view->addTextContent($description);
|
||||
}
|
||||
|
||||
$view->setActionList($actions);
|
||||
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeader($header)
|
||||
->setActionList($actions)
|
||||
->setPropertyList($view);
|
||||
->addPropertyList($view);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user