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:
Chad Little
2013-09-09 14:14:34 -07:00
parent d1225e782b
commit 5ba20b8924
63 changed files with 426 additions and 370 deletions

View File

@@ -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);