Differential D21770 Diff 51906 src/applications/metamta/controller/PhabricatorMetaMTAMailViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/metamta/controller/PhabricatorMetaMTAMailViewController.php
Show First 20 Lines • Show All 422 Lines • ▼ Show 20 Lines | if (!strlen($details)) { | ||||
$details = phutil_tag('em', array(), pht('None')); | $details = phutil_tag('em', array(), pht('None')); | ||||
} | } | ||||
$properties->addProperty(pht('Status Details'), $details); | $properties->addProperty(pht('Status Details'), $details); | ||||
$actor_phid = $mail->getActorPHID(); | $actor_phid = $mail->getActorPHID(); | ||||
if ($actor_phid) { | if ($actor_phid) { | ||||
$actor_str = $viewer->renderHandle($actor_phid); | $actor_str = $viewer->renderHandle($actor_phid); | ||||
} else { | } else { | ||||
$actor_str = pht('Generated by Phabricator'); | $actor_str = pht('Generated by Server'); | ||||
} | } | ||||
$properties->addProperty(pht('Actor'), $actor_str); | $properties->addProperty(pht('Actor'), $actor_str); | ||||
$related_phid = $mail->getRelatedPHID(); | $related_phid = $mail->getRelatedPHID(); | ||||
if ($related_phid) { | if ($related_phid) { | ||||
$related = $viewer->renderHandle($mail->getRelatedPHID()); | $related = $viewer->renderHandle($mail->getRelatedPHID()); | ||||
} else { | } else { | ||||
$related = phutil_tag('em', array(), pht('None')); | $related = phutil_tag('em', array(), pht('None')); | ||||
Show All 11 Lines |