• <%= link_to(profile_image(scrap.sender, :minor), scrap.sender.url) %>

    <%= link_to scrap.sender.name, scrap.sender.url %>

    <%= txt2html scrap.content %>

    <%= time_ago_as_sentence(scrap.created_at) %>

    <% if logged_in? && current_person.follows?(scrap.sender) %> <%= link_to_function s_('profile|Comment'), "hide_and_show(['#profile-wall-message-response-#{scrap.id}'],['#profile-wall-reply-#{scrap.id}', '#profile-wall-reply-form-#{scrap.id}']);$('reply_content_#{scrap.id}').value='';$('reply_content_#{scrap.id}').focus();return false", :class => "profile-send-reply" %> <% end %> <%= link_to_function(_('Remove'), 'remove_item_wall(this, %s, %s, %s); return false ;' % ["'.profile-activity-item'", url_for(:profile => params[:profile], :action => :remove_scrap, :scrap_id => scrap.id, :view => params[:view]).to_json, _('Are you sure you want to remove this scrap and all its replies?').to_json]) if logged_in? && user.can_control_scrap?(scrap) %>
    <%= render :partial => 'profile_scrap_reply_form', :locals => { :scrap => scrap } %>