1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Add Spaces information to the project list UI

Summary: Depends on D19552. Ref T13164. We need this little `setObject(...)` hook to get the Space name into the search list UI.

Test Plan: Viewed project list, saw some Spaces listed.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13164

Differential Revision: https://secure.phabricator.com/D19554
This commit is contained in:
epriestley 2018-07-30 16:33:20 -07:00
parent 8d8086fccf
commit 45babe82f3

View file

@ -57,6 +57,7 @@ final class PhabricatorProjectListView extends AphrontView {
$icon_name = $project->getDisplayIconName();
$item = id(new PHUIObjectItemView())
->setObject($project)
->setHeader($project->getName())
->setHref("/project/view/{$id}/")
->setImageURI($project->getProfileImageURI())