Changeset View
Changeset View
Standalone View
Standalone View
src/applications/audit/editor/PhabricatorAuditEditor.php
Show First 20 Lines • Show All 654 Lines • ▼ Show 20 Lines | foreach ($xactions as $xaction) { | ||||
$inlines[] = $xaction; | $inlines[] = $xaction; | ||||
} | } | ||||
if ($xaction->getTransactionType() == $type_push) { | if ($xaction->getTransactionType() == $type_push) { | ||||
$is_commit = true; | $is_commit = true; | ||||
} | } | ||||
} | } | ||||
if ($inlines) { | if ($inlines) { | ||||
$body->addTextSection( | $body->addRemarkupSection( | ||||
pht('INLINE COMMENTS'), | pht('INLINE COMMENTS'), | ||||
$this->renderInlineCommentsForMail($object, $inlines)); | $this->renderInlineCommentsForMail($object, $inlines)); | ||||
} | } | ||||
if ($is_commit) { | if ($is_commit) { | ||||
$data = $object->getCommitData(); | $data = $object->getCommitData(); | ||||
$body->addTextSection(pht('AFFECTED FILES'), $this->affectedFiles); | $body->addTextSection(pht('AFFECTED FILES'), $this->affectedFiles); | ||||
$this->inlinePatch( | $this->inlinePatch( | ||||
▲ Show 20 Lines • Show All 303 Lines • Show Last 20 Lines |