Page MenuHomePhabricator

D15536.id37453.diff
No OneTemporary

D15536.id37453.diff

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

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)

Event Timeline