mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 13:00:56 +01:00
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
1 changed files with 7 additions and 0 deletions
|
@ -429,6 +429,13 @@ final class PhrictionTransactionEditor
|
|||
PhabricatorEnv::getProductionURI($this->contentDiffURI));
|
||||
}
|
||||
|
||||
$description = $object->getContent()->getDescription();
|
||||
if (strlen($description)) {
|
||||
$body->addTextSection(
|
||||
pht('EDIT NOTES'),
|
||||
$description);
|
||||
}
|
||||
|
||||
$body->addLinkSection(
|
||||
pht('DOCUMENT DETAIL'),
|
||||
PhabricatorEnv::getProductionURI(
|
||||
|
|
Loading…
Reference in a new issue