% network_activities.each do |activity| %>
<%= time_ago_as_sentence(activity.created_at) + ' ' + _('ago') %>
<%= link_to activity.user.name, activity.user.url %> <%= describe activity %>
<%= button_to_remote(:delete, content_tag(:span, _('Remove')), :url =>{:action => 'remove_notification', :activity_id => activity.id}, :update => "profile-network-item-#{activity.id}") if can_edit_profile %><%= _('In community %s') % link_to(activity.target.name, activity.target.url) if !profile.is_a?(Community) && activity.target.is_a?(Community) %>