Page MenuHomePhabricator

D15192.diff
No OneTemporary

D15192.diff

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

Mime Type
text/plain
Expires
Sun, Oct 27, 10:44 PM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717100
Default Alt Text
D15192.diff (938 B)

Event Timeline