ref: master
app/views/profile/_leave_scrap.html.erb
<%= link_to(profile_image(activity.user, :minor), activity.user.url) %><%= link_to activity.user.name, activity.user.url %> <%= describe(activity).html_safe %>
<%= time_ago_in_words(activity.created_at) %>
<%= link_to_function(_('Remove'), 'remove_item_wall(this, \'%s\', \'%s\', \'%s\'); return false ;' % [".profile-activity-item", url_for(:profile => params[:profile], :action => :remove_activity, :activity_id => activity.id, :view => params[:view]), _('Are you sure you want to remove this activity and all its replies?')]) if logged_in? && current_person == @profile %>