Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/editor/PhabricatorCalendarEventEditor.php
Show First 20 Lines • Show All 430 Lines • ▼ Show 20 Lines | final class PhabricatorCalendarEventEditor | ||||
protected function buildMailBody( | protected function buildMailBody( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
array $xactions) { | array $xactions) { | ||||
$description = $object->getDescription(); | $description = $object->getDescription(); | ||||
$body = parent::buildMailBody($object, $xactions); | $body = parent::buildMailBody($object, $xactions); | ||||
if (strlen($description)) { | if (strlen($description)) { | ||||
$body->addTextSection( | $body->addRemarkupSection( | ||||
pht('EVENT DESCRIPTION'), | pht('EVENT DESCRIPTION'), | ||||
$object->getDescription()); | $description); | ||||
} | } | ||||
$body->addLinkSection( | $body->addLinkSection( | ||||
pht('EVENT DETAIL'), | pht('EVENT DETAIL'), | ||||
PhabricatorEnv::getProductionURI('/E'.$object->getID())); | PhabricatorEnv::getProductionURI('/E'.$object->getID())); | ||||
return $body; | return $body; | ||||
} | } | ||||
} | } |