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:
parent
e2668a5fd0
commit
a69cc99250
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue