<%= 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 %>