aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--languages/en.php2
-rw-r--r--views/default/river/user/default/profileiconupdate.php12
2 files changed, 7 insertions, 7 deletions
diff --git a/languages/en.php b/languages/en.php
index e7806be27..eaf7f9084 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -404,7 +404,7 @@ $english = array(
*/
'river' => "River",
'river:friend:user:default' => "%s is now a friend with %s",
- 'profile:river:iconupdate' => 'updated their profile icon',
+ 'river:update:user:default' => '%s has a new avatar',
'river:noaccess' => 'You do not have permission to view this item.',
'river:posted:generic' => '%s posted',
'riveritem:single:user' => 'a user',
diff --git a/views/default/river/user/default/profileiconupdate.php b/views/default/river/user/default/profileiconupdate.php
index a723c5335..3237d7aad 100644
--- a/views/default/river/user/default/profileiconupdate.php
+++ b/views/default/river/user/default/profileiconupdate.php
@@ -2,12 +2,12 @@
/**
* Update avatar river view
*/
-$subject = $vars['item']->getSubjectEntity();
-$subject_icon = elgg_view_entity_icon($subject, 'tiny');
-echo elgg_echo("profile:river:iconupdate");
+$subject = $vars['item']->getSubjectEntity();
+
+echo elgg_view('river/item', array(
+ 'item' => $vars['item'],
+ 'attachments' => elgg_view_entity_icon($subject, 'tiny'),
+));
-echo '<div class="elgg-river-content clearfix">';
-echo $subject_icon;
-echo '</div>';