Add getDisplayName to cards and profiles

Summary: Show on hovercards and the profile page itself.

Test Plan: Review a Milestone.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15193
This commit is contained in:
Chad Little
2016-02-05 13:11:47 -08:00
parent e2668a5fd0
commit a69cc99250
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ final class PhabricatorProjectProfileController
->setType(PHUITagView::TYPE_SHADE);
$header = id(new PHUIHeaderView())
->setHeader(array($project->getName(), $tag))
->setHeader(array($project->getDisplayName(), $tag))
->setUser($viewer)
->setPolicyObject($project)
->setImage($picture)