Show project profile images in project list view
Summary: Ref T4400. Adds project images to spice this UI up a bit. Test Plan: Looked at list. Reviewers: chad, btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T4400 Differential Revision: https://secure.phabricator.com/D8570
This commit is contained in:
@@ -37,14 +37,14 @@ final class PhabricatorProjectListController
|
||||
|
||||
$item = id(new PHUIObjectItemView())
|
||||
->setHeader($project->getName())
|
||||
->setHref($this->getApplicationURI("view/{$id}/"));
|
||||
->setHref($this->getApplicationURI("view/{$id}/"))
|
||||
->setImageURI($project->getProfileImageURI());
|
||||
|
||||
if ($project->getStatus() == PhabricatorProjectStatus::STATUS_ARCHIVED) {
|
||||
$item->addIcon('delete-grey', pht('Archived'));
|
||||
$item->setDisabled(true);
|
||||
}
|
||||
|
||||
|
||||
$list->addItem($item);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user