Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14108662
D15536.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
909 B
Referenced Files
None
Subscribers
None
D15536.diff
View Options
diff --git a/src/applications/badges/storage/PhabricatorBadgesTransaction.php b/src/applications/badges/storage/PhabricatorBadgesTransaction.php
--- a/src/applications/badges/storage/PhabricatorBadgesTransaction.php
+++ b/src/applications/badges/storage/PhabricatorBadgesTransaction.php
@@ -73,6 +73,18 @@
$this->renderHandleLink($author_phid));
}
break;
+ case self::TYPE_STATUS:
+ switch ($new) {
+ case PhabricatorBadgesBadge::STATUS_ACTIVE:
+ return pht(
+ '%s activated this badge.',
+ $this->renderHandleLink($author_phid));
+ case PhabricatorBadgesBadge::STATUS_ARCHIVED:
+ return pht(
+ '%s archived this badge.',
+ $this->renderHandleLink($author_phid));
+ }
+ break;
case self::TYPE_ICON:
if ($old === null) {
return pht(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 28, 12:01 PM (18 h, 11 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6800389
Default Alt Text
D15536.diff (909 B)
Attached To
Mode
D15536: Archiving badge needs meaningful Badge timeline event title
Attached
Detach File
Event Timeline
Log In to Comment