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:
@@ -107,10 +107,10 @@ final class DiffusionBrowseFileController extends DiffusionBrowseController {
|
||||
$show_color,
|
||||
$binary_uri);
|
||||
|
||||
$properties = $this->buildPropertyView($drequest, $action_list);
|
||||
$object_box = id(new PHUIObjectBoxView())
|
||||
->setHeader($this->buildHeaderView($drequest))
|
||||
->setActionList($action_list)
|
||||
->setPropertyList($this->buildPropertyView($drequest));
|
||||
->addPropertyList($properties);
|
||||
|
||||
$content = array();
|
||||
$content[] = $object_box;
|
||||
@@ -822,7 +822,7 @@ final class DiffusionBrowseFileController extends DiffusionBrowseController {
|
||||
}
|
||||
|
||||
private function buildImageCorpus($file_uri) {
|
||||
$properties = new PhabricatorPropertyListView();
|
||||
$properties = new PHUIPropertyListView();
|
||||
|
||||
$properties->addProperty(
|
||||
pht('Image'),
|
||||
@@ -836,7 +836,7 @@ final class DiffusionBrowseFileController extends DiffusionBrowseController {
|
||||
}
|
||||
|
||||
private function buildBinaryCorpus($file_uri, $data) {
|
||||
$properties = new PhabricatorPropertyListView();
|
||||
$properties = new PHUIPropertyListView();
|
||||
|
||||
$size = strlen($data);
|
||||
$properties->addTextContent(
|
||||
|
||||
Reference in New Issue
Block a user