<%= link_to(profile_image(activity.user, :minor), activity.user.url) %>

<%= link_to activity.user.name, activity.user.url %>

<%= activity.params['name'] %>
<%= image_tag(activity.params['first_image']) unless activity.params['first_image'].blank? %><%= strip_tags(activity.params['lead']).gsub(/(\xA0|\xC2|\s)+/, ' ').gsub(/^\s+/, '') %> <%= link_to(_('See more +'), activity.params['url']) unless activity.get_lead.blank? %>

<%= time_ago_as_sentence(activity.created_at) + ' ' + _('ago') %>

<%= link_to_remote(content_tag(:span, _('Remove')), :url =>{:action => 'remove_activity', :activity_id => activity.id}, :update => "profile-activity-item-#{activity.id}") if logged_in? && current_person == @profile %>