Page MenuHomePhabricator

D8531.id.diff
No OneTemporary

D8531.id.diff

diff --git a/src/applications/differential/editor/DifferentialTransactionEditor.php b/src/applications/differential/editor/DifferentialTransactionEditor.php
--- a/src/applications/differential/editor/DifferentialTransactionEditor.php
+++ b/src/applications/differential/editor/DifferentialTransactionEditor.php
@@ -1044,9 +1044,19 @@
$body = parent::buildMailBody($object, $xactions);
if ($this->getIsNewObject()) {
- $body->addTextSection(
- pht('REVISION SUMMARY'),
- $object->getSummary());
+ $summary = $object->getSummary();
+ if (strlen(trim($summary))) {
+ $body->addTextSection(
+ pht('REVISION SUMMARY'),
+ $summary);
+ }
+
+ $test_plan = $object->getTestPlan();
+ if (strlen(trim($test_plan))) {
+ $body->addTextSection(
+ pht('TEST PLAN'),
+ $test_plan);
+ }
}
$type_inline = DifferentialTransaction::TYPE_INLINE;

File Metadata

Mime Type
text/plain
Expires
Sep 27 2025, 8:44 AM (9 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8617549
Default Alt Text
D8531.id.diff (949 B)

Event Timeline