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

@@ -40,7 +40,7 @@ final class PhabricatorFileListController extends PhabricatorFileController
$highlighted_ids = array_fill_keys($highlighted_ids, true);
$list_view = id(new PhabricatorObjectItemListView())
$list_view = id(new PHUIObjectItemListView())
->setUser($user);
foreach ($files as $file) {
@@ -58,7 +58,7 @@ final class PhabricatorFileListController extends PhabricatorFileController
$uploaded = pht('Uploaded on %s', $date_created);
}
$item = id(new PhabricatorObjectItemView())
$item = id(new PHUIObjectItemView())
->setObject($file)
->setObjectName("F{$id}")
->setHeader($name)