Differential D17322 Diff 41660 src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Lines | public function renderView() { | ||||
} | } | ||||
$author_phid = $xaction->getAuthorPHID(); | $author_phid = $xaction->getAuthorPHID(); | ||||
$author_handle = $this->getHandle($author_phid); | $author_handle = $this->getHandle($author_phid); | ||||
$author_image = $author_handle->getImageURI(); | $author_image = $author_handle->getImageURI(); | ||||
if ($author_image) { | if ($author_image) { | ||||
$view->setImage($author_image); | $view->setImage($author_image); | ||||
$view->setImageHref($author_handle->getURI()); | |||||
} else { | } else { | ||||
$view->setAuthorIcon($author_handle->getIcon()); | $view->setAuthorIcon($author_handle->getIcon()); | ||||
} | } | ||||
return $view; | return $view; | ||||
} | } | ||||
public function renderText() { | public function renderText() { | ||||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |