Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/editor/HeraldRuleEditor.php
| Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | protected function buildMailTemplate(PhabricatorLiskDAO $object) { | ||||
| return id(new PhabricatorMetaMTAMail()) | return id(new PhabricatorMetaMTAMail()) | ||||
| ->setSubject($subject); | ->setSubject($subject); | ||||
| } | } | ||||
| protected function getMailSubjectPrefix() { | protected function getMailSubjectPrefix() { | ||||
| return pht('[Herald]'); | return pht('[Herald]'); | ||||
| } | } | ||||
| protected function buildMailBody( | |||||
| PhabricatorLiskDAO $object, | |||||
| array $xactions) { | |||||
| $body = parent::buildMailBody($object, $xactions); | |||||
| $body->addLinkSection( | |||||
| pht('RULE DETAIL'), | |||||
| PhabricatorEnv::getProductionURI($object->getURI())); | |||||
| return $body; | |||||
| } | |||||
| } | } | ||||