Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15469288
D17471.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1020 B
Referenced Files
None
Subscribers
None
D17471.diff
View Options
diff --git a/src/applications/people/controller/PhabricatorPeopleProfileBadgesController.php b/src/applications/people/controller/PhabricatorPeopleProfileBadgesController.php
--- a/src/applications/people/controller/PhabricatorPeopleProfileBadgesController.php
+++ b/src/applications/people/controller/PhabricatorPeopleProfileBadgesController.php
@@ -105,6 +105,7 @@
$award = idx($awards, $badge->getPHID(), null);
$awarder_phid = $award->getAwarderPHID();
$awarder_handle = $viewer->renderHandle($awarder_phid);
+ $awarded_date = phabricator_date($award->getDateCreated(), $viewer);
$awarder_info = pht(
'Awarded by %s',
@@ -116,7 +117,8 @@
->setSubhead($badge->getFlavor())
->setQuality($badge->getQuality())
->setHref($badge->getViewURI())
- ->addByLine($awarder_info);
+ ->addByLine($awarder_info)
+ ->addByLine($awarded_date);
$flex->addItem($item);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 5, 11:37 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7456238
Default Alt Text
D17471.diff (1020 B)
Attached To
Mode
D17471: Add date awarded to profile badges
Attached
Detach File
Event Timeline
Log In to Comment