mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 04:50:55 +01:00
Show authors as usernames when they're linked
Summary: This data is available and loaded, just not used. Test Plan: {F411442} Reviewers: chad Reviewed By: chad Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D12951
This commit is contained in:
parent
cbc5ad1604
commit
9539839833
1 changed files with 6 additions and 1 deletions
|
@ -142,7 +142,12 @@ final class PhabricatorAuditListView extends AphrontView {
|
||||||
$status_text = null;
|
$status_text = null;
|
||||||
$status_color = null;
|
$status_color = null;
|
||||||
}
|
}
|
||||||
$author_name = $commit->getCommitData()->getAuthorName();
|
$author_phid = $commit->getAuthorPHID();
|
||||||
|
if ($author_phid) {
|
||||||
|
$author_name = $this->getHandle($author_phid)->renderLink();
|
||||||
|
} else {
|
||||||
|
$author_name = $commit->getCommitData()->getAuthorName();
|
||||||
|
}
|
||||||
|
|
||||||
$item = id(new PHUIObjectItemView())
|
$item = id(new PHUIObjectItemView())
|
||||||
->setObjectName($commit_name)
|
->setObjectName($commit_name)
|
||||||
|
|
Loading…
Reference in a new issue