mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
Link Ponder Answer header to user
Summary: Fixes T9509 Test Plan: View a Ponder Question, hover over answerer name, get URL. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T9509 Differential Revision: https://secure.phabricator.com/D14238
This commit is contained in:
parent
2bfa0e087e
commit
4549afbdce
1 changed files with 8 additions and 1 deletions
|
@ -77,10 +77,17 @@ final class PonderAnswerView extends AphrontTagView {
|
|||
->setIconFont('fa-bars')
|
||||
->setDropdownMenu($actions);
|
||||
|
||||
$header_name = phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $handle->getURI(),
|
||||
),
|
||||
$handle->getName());
|
||||
|
||||
$header = id(new PHUIHeaderView())
|
||||
->setUser($viewer)
|
||||
->setEpoch($answer->getDateModified())
|
||||
->setHeader($handle->getName())
|
||||
->setHeader($header_name)
|
||||
->addActionLink($action_button)
|
||||
->setImage($handle->getImageURI())
|
||||
->setImageURL($handle->getURI());
|
||||
|
|
Loading…
Reference in a new issue