Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14475804
D11017.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11017.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11017: Add divider function to mail
Attached
Detach File
Event Timeline
Log In to Comment