aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-06-25 12:10:33 -0400
committercash <cash.costello@gmail.com>2011-06-25 12:10:33 -0400
commit5df3bcf4151d6731c32d71f758d7922d0c1c4932 (patch)
tree56836de80b6c9c0505f81571cfe9abcb367b78ba /views/default
parent1e12760590a763ec2af5988080b6a94b21a17f1a (diff)
downloadelgg-5df3bcf4151d6731c32d71f758d7922d0c1c4932.tar.gz
elgg-5df3bcf4151d6731c32d71f758d7922d0c1c4932.tar.bz2
actually read Evan's comment on pull request #48 and fixed previous
Diffstat (limited to 'views/default')
-rw-r--r--views/default/river/user/default/profileiconupdate.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/views/default/river/user/default/profileiconupdate.php b/views/default/river/user/default/profileiconupdate.php
index 3237d7aad..c7f691533 100644
--- a/views/default/river/user/default/profileiconupdate.php
+++ b/views/default/river/user/default/profileiconupdate.php
@@ -6,8 +6,16 @@
$subject = $vars['item']->getSubjectEntity();
+$subject_link = elgg_view('output/url', array(
+ 'href' => $subject->getURL(),
+ 'text' => $subject->name,
+ 'class' => 'elgg-river-subject',
+));
+
+$string = elgg_echo('river:update:user:avatar', array($subject_link));
+
echo elgg_view('river/item', array(
'item' => $vars['item'],
+ 'summary' => $string,
'attachments' => elgg_view_entity_icon($subject, 'tiny'),
));
-