Page MenuHomePhabricator

D11017.diff
No OneTemporary

D11017.diff

diff --git a/src/applications/metamta/view/PhabricatorMetaMTAMailBody.php b/src/applications/metamta/view/PhabricatorMetaMTAMailBody.php
--- a/src/applications/metamta/view/PhabricatorMetaMTAMailBody.php
+++ b/src/applications/metamta/view/PhabricatorMetaMTAMailBody.php
@@ -140,6 +140,25 @@
}
/**
+ * Adds a horizontal rule to the mail page.
+ *
+ * @return this
+ */
+ public function addDividerSection() {
+ $line = '____________________________________';
+ $divider =
+ phutil_tag(
+ 'div',
+ array(
+ 'style' => 'color: #8C98B8;',
+ ),
+ '______________________________');
+ $this->htmlSections[] = phutil_tag('div', array(), $divider);
+ $this->sections[] = $line;
+ return $this;
+ }
+
+ /**
* Add a Herald section with a rule management URI and a transcript URI.
*
* @param string URI to rule transcripts.
diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
--- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
+++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
@@ -2211,6 +2211,7 @@
$xactions);
}
}
+ $body->addDividerSection();
return $body;
}

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 28, 9:05 PM (8 h, 1 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6941152
Default Alt Text
D11017.diff (1 KB)

Event Timeline