Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14058644
D15192.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
938 B
Referenced Files
None
Subscribers
None
D15192.diff
View Options
diff --git a/src/applications/phame/controller/post/PhamePostViewController.php b/src/applications/phame/controller/post/PhamePostViewController.php
--- a/src/applications/phame/controller/post/PhamePostViewController.php
+++ b/src/applications/phame/controller/post/PhamePostViewController.php
@@ -101,9 +101,18 @@
$subtitle = pht('Written by %s on %s.', $author, $date);
}
+ $user_icon = $blogger_profile->getIcon();
+ $user_icon = PhabricatorPeopleIconSet::getIconIcon($user_icon);
+ $user_icon = id(new PHUIIconView())->setIcon($user_icon);
+
$about = id(new PhameDescriptionView())
->setTitle($subtitle)
- ->setDescription($blogger_profile->getTitle())
+ ->setDescription(
+ array(
+ $user_icon,
+ ' ',
+ $blogger_profile->getTitle(),
+ ))
->setImage($blogger->getProfileImageURI())
->setImageHref('/p/'.$blogger->getUsername());
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 1:31 PM (12 h, 4 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717100
Default Alt Text
D15192.diff (938 B)
Attached To
Mode
D15192: Add user profile icons to Phame authorship
Attached
Detach File
Event Timeline
Log In to Comment