Page MenuHomePhabricator

D15536.diff
No OneTemporary

D15536.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
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)

Event Timeline