Add edit notes to Phriction emails
Summary: Fixes T9294. Adds edit notes. Test Plan: Edit a document, see notes in email. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T9294 Differential Revision: https://secure.phabricator.com/D16526
This commit is contained in:
parent
d7bc582530
commit
b056b7f174
|
@ -429,6 +429,13 @@ final class PhrictionTransactionEditor
|
||||||
PhabricatorEnv::getProductionURI($this->contentDiffURI));
|
PhabricatorEnv::getProductionURI($this->contentDiffURI));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$description = $object->getContent()->getDescription();
|
||||||
|
if (strlen($description)) {
|
||||||
|
$body->addTextSection(
|
||||||
|
pht('EDIT NOTES'),
|
||||||
|
$description);
|
||||||
|
}
|
||||||
|
|
||||||
$body->addLinkSection(
|
$body->addLinkSection(
|
||||||
pht('DOCUMENT DETAIL'),
|
pht('DOCUMENT DETAIL'),
|
||||||
PhabricatorEnv::getProductionURI(
|
PhabricatorEnv::getProductionURI(
|
||||||
|
|
Loading…
Reference in a new issue