Allow users to have profile icons

Summary: Ref T10054. This primarily improves aesthetics and consistency for member/wathcher lists in projects.

Test Plan:
{F1068873}

{F1068874}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10054

Differential Revision: https://secure.phabricator.com/D15103
This commit is contained in:
epriestley
2016-01-24 05:43:57 -08:00
parent bba14118c7
commit 06aa207960
14 changed files with 249 additions and 8 deletions

View File

@@ -79,6 +79,13 @@ abstract class PhabricatorProjectUserListView extends AphrontView {
->setHref($handle->getURI())
->setImageURI($handle->getImageURI());
$icon = id(new PHUIIconView())
->setIconFont($handle->getIcon().' grey');
$subtitle = $handle->getSubtitle();
$item->addAttribute(array($icon, ' ', $subtitle));
if ($can_edit && !$limit) {
$remove_uri = $this->getRemoveURI($user_phid);