Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14087683
D15536.id37453.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.id37453.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
Sun, Nov 24, 11:16 PM (21 h, 18 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6781731
Default Alt Text
D15536.id37453.diff (909 B)
Attached To
Mode
D15536: Archiving badge needs meaningful Badge timeline event title
Attached
Detach File
Event Timeline
Log In to Comment