Move PhabricatorObjectItem to PHUIObjectItem, add 'plain' setting for lists.
Summary: Adds plain support for object lists that just look like lists Test Plan: review UIexamples and a number of other applications Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D6922
This commit is contained in:
@@ -70,12 +70,12 @@ final class PhabricatorConfigGroupController
|
||||
}
|
||||
$engine->process();
|
||||
|
||||
$list = new PhabricatorObjectItemListView();
|
||||
$list = new PHUIObjectItemListView();
|
||||
$list->setStackable(true);
|
||||
foreach ($options as $option) {
|
||||
$summary = $engine->getOutput($option, 'summary');
|
||||
|
||||
$item = id(new PhabricatorObjectItemView())
|
||||
$item = id(new PHUIObjectItemView())
|
||||
->setHeader($option->getKey())
|
||||
->setHref('/config/edit/'.$option->getKey().'/')
|
||||
->addAttribute($summary);
|
||||
|
||||
Reference in New Issue
Block a user