Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15413414
D17449.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
D17449.diff
View Options
diff --git a/src/applications/badges/editor/PhabricatorBadgesEditor.php b/src/applications/badges/editor/PhabricatorBadgesEditor.php
--- a/src/applications/badges/editor/PhabricatorBadgesEditor.php
+++ b/src/applications/badges/editor/PhabricatorBadgesEditor.php
@@ -87,10 +87,12 @@
protected function buildMailTemplate(PhabricatorLiskDAO $object) {
$name = $object->getName();
$id = $object->getID();
- $name = pht('Badge %d', $id);
+ $topic = pht('Badge %d', $id);
+ $subject = pht('Badge %d: %s', $id, $name);
+
return id(new PhabricatorMetaMTAMail())
- ->setSubject($name)
- ->addHeader('Thread-Topic', $name);
+ ->setSubject($subject)
+ ->addHeader('Thread-Topic', $topic);
}
protected function getMailTo(PhabricatorLiskDAO $object) {
@@ -104,15 +106,8 @@
PhabricatorLiskDAO $object,
array $xactions) {
- $description = $object->getDescription();
$body = parent::buildMailBody($object, $xactions);
- if (strlen($description)) {
- $body->addRemarkupSection(
- pht('BADGE DESCRIPTION'),
- $object->getDescription());
- }
-
$body->addLinkSection(
pht('BADGE DETAIL'),
PhabricatorEnv::getProductionURI('/badges/view/'.$object->getID().'/'));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 6:31 PM (4 d, 14 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7714093
Default Alt Text
D17449.diff (1 KB)
Attached To
Mode
D17449: Touch up Badges emails
Attached
Detach File
Event Timeline
Log In to Comment