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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user