1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-29 16:08:22 +01:00

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)

View file

@ -55,7 +55,7 @@ final class PhabricatorProjectCardView extends AphrontTagView {
->setType(PHUITagView::TYPE_SHADE);
$header = id(new PHUIHeaderView())
->setHeader(array($project->getName(), $tag))
->setHeader(array($project->getDisplayName(), $tag))
->setUser($viewer)
->setPolicyObject($project)
->setImage($project->getProfileImageURI());