1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 13:30:55 +01:00

Link to badge view from people profile view

Summary: Fixes T10715. Badges on the profile view now link to the badge view

Test Plan: Went to the profile view and clicked the link.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, yelirekim

Maniphest Tasks: T10715

Differential Revision: https://secure.phabricator.com/D16604
This commit is contained in:
Josh Cox 2016-09-27 02:15:59 -04:00
parent 6649b0cef8
commit 0fc05ab47e

View file

@ -293,6 +293,7 @@ final class PhabricatorPeopleProfileViewController
->setHeader($badge->getName()) ->setHeader($badge->getName())
->setSubhead($badge->getFlavor()) ->setSubhead($badge->getFlavor())
->setQuality($badge->getQuality()) ->setQuality($badge->getQuality())
->setHref($badge->getViewURI())
->addByLine($awarder_info); ->addByLine($awarder_info);
$flex->addItem($item); $flex->addItem($item);