• <%= link_to(profile_image(scrap.sender, :minor), scrap.sender.url) %> <% if logged_in? && current_person.follows?(scrap.sender) && current_person != scrap.sender %>

    <%= link_to_function _('Scrap'), "hide_and_show(['#profile-wall-message-response-#{scrap.id}'],['#profile-wall-message-#{scrap.id}', '#profile-wall-form-#{scrap.id}']);$('content_#{scrap.id}').value='';return false", :class => "profile-send-message", :title => _("Send a message to %s") % scrap.sender.name %>

    <% end %>
    <% comment_balloon :class => 'profile-wall-description' do %>

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

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

    <%= auto_link_urls scrap.content %>

    <%= button_to_remote(:delete, content_tag(:span, _('Remove')), :url =>{:action => 'remove_scrap', :scrap_id => scrap.id}, :update => "profile-wall-item-#{scrap.id}") if logged_in? && user.can_control_scrap?(scrap) %> <% if logged_in? && current_person.follows?(scrap.sender) && scrap.root.nil? %>

    <%= link_to_function _('Reply'), "hide_and_show(['#profile-wall-reply-response-#{scrap.id}'],['#profile-wall-reply-#{scrap.id}', '#profile-wall-reply-form-#{scrap.id}']);$('reply_content_#{scrap.id}').value='';$('scrap_id_#{scrap.id}').value='#{scrap.id}';return false", :class => "profile-send-reply icon-reply" %>

    <% end %> <% end %>