<%= link_to(profile_image(activity.user, :minor), activity.user.url) %>
<% if logged_in? && current_person.follows?(activity.user) && current_person != activity.user %>
<%= link_to_function _('Scrap'), "hide_and_show(['#profile-network-message-response-#{activity.id}'],['#profile-network-message-#{activity.id}', '#profile-network-form-#{activity.id}']);$('content_#{activity.id}').value='';return false", :class => "profile-send-message", :title => _("Send a message to %s") % activity.user.name %>
<% end %>
<%= time_ago_as_sentence(activity.created_at) + ' ' + _('ago') %>
<%= link_to activity.user.name, activity.user.url %> <%= describe activity %>
<%= _('In community %s') % link_to(activity.target.name, activity.target.url) if !profile.is_a?(Community) && activity.target.is_a?(Community) %>