Improve design of PhabricatorObjectListView
Summary: See discussion in T2014. Aligns this element more closely with @chad's `frame_v3.psd` mock, and implements the icon/label element. Removes "details".
Test Plan: {F27062} {F27063} {F27064} {F27065}
Reviewers: btrahan, chad
Reviewed By: btrahan
CC: aran
Maniphest Tasks: T2014
Differential Revision: https://secure.phabricator.com/D4179
This commit is contained in:
@@ -71,14 +71,13 @@ final class PhameBlogListController extends PhameController {
|
||||
|
||||
$view = new PhabricatorObjectItemListView();
|
||||
$view->setNoDataString($nodata);
|
||||
$view->setViewer($user);
|
||||
foreach ($blogs as $blog) {
|
||||
|
||||
$item = id(new PhabricatorObjectItemView())
|
||||
->setHeader($blog->getName())
|
||||
->setHref($this->getApplicationURI('blog/view/'.$blog->getID().'/'))
|
||||
->addDetail(
|
||||
pht('Custom Domain'),
|
||||
phutil_escape_html($blog->getDomain()));
|
||||
->setObject($blog);
|
||||
|
||||
$view->addItem($item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user