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:
epriestley
2014-03-19 19:27:37 -07:00
parent 221222ad7a
commit 55d315a577
2 changed files with 4 additions and 3 deletions

View File

@@ -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);
}