Differential D19665 Diff 46997 src/applications/transactions/view/PhabricatorApplicationTransactionView.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/view/PhabricatorApplicationTransactionView.php
Show First 20 Lines • Show All 418 Lines • ▼ Show 20 Lines | private function renderEvent( | ||||
$event = id(new PHUITimelineEventView()) | $event = id(new PHUITimelineEventView()) | ||||
->setUser($viewer) | ->setUser($viewer) | ||||
->setAuthorPHID($xaction->getAuthorPHID()) | ->setAuthorPHID($xaction->getAuthorPHID()) | ||||
->setTransactionPHID($xaction->getPHID()) | ->setTransactionPHID($xaction->getPHID()) | ||||
->setUserHandle($xaction->getHandle($xaction->getAuthorPHID())) | ->setUserHandle($xaction->getHandle($xaction->getAuthorPHID())) | ||||
->setIcon($xaction->getIcon()) | ->setIcon($xaction->getIcon()) | ||||
->setColor($xaction->getColor()) | ->setColor($xaction->getColor()) | ||||
->setHideCommentOptions($this->getHideCommentOptions()) | ->setHideCommentOptions($this->getHideCommentOptions()) | ||||
->setIsSilent($xaction->getIsSilentTransaction()); | ->setIsSilent($xaction->getIsSilentTransaction()) | ||||
->setIsMFA($xaction->getIsMFATransaction()); | |||||
list($token, $token_removed) = $xaction->getToken(); | list($token, $token_removed) = $xaction->getToken(); | ||||
if ($token) { | if ($token) { | ||||
$event->setToken($token, $token_removed); | $event->setToken($token, $token_removed); | ||||
} | } | ||||
if (!$this->shouldSuppressTitle($xaction, $group)) { | if (!$this->shouldSuppressTitle($xaction, $group)) { | ||||
if ($this->renderAsFeed) { | if ($this->renderAsFeed) { | ||||
▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines |