Differential D17144 Diff 41233 src/applications/transactions/controller/PhabricatorApplicationTransactionCommentRawController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/controller/PhabricatorApplicationTransactionCommentRawController.php
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | if ($request->getExists('email')) { | ||||
if ($source_id) { | if ($source_id) { | ||||
$message = id(new PhabricatorMetaMTAReceivedMail())->loadOneWhere( | $message = id(new PhabricatorMetaMTAReceivedMail())->loadOneWhere( | ||||
'id = %d', | 'id = %d', | ||||
$source_id); | $source_id); | ||||
if ($message) { | if ($message) { | ||||
$title = pht('Email Body Text'); | $title = pht('Email Body Text'); | ||||
$body = $message->getRawTextBody(); | $body = $message->getRawTextBody(); | ||||
$details_text = pht( | $details_text = pht( | ||||
'For full details, run `/bin/mail show-outbound --id %d`', | 'For full details, run `/bin/mail show-inbound --id %d`', | ||||
$source_id); | $source_id); | ||||
$addendum = new PHUIRemarkupView($viewer, $details_text); | $addendum = new PHUIRemarkupView($viewer, $details_text); | ||||
} | } | ||||
} | } | ||||
} | } | ||||
} | } | ||||
$dialog = id(new AphrontDialogView()) | $dialog = id(new AphrontDialogView()) | ||||
->setUser($viewer) | ->setUser($viewer) | ||||
Show All 24 Lines |