<%if logged_in? && (user != profile) %> <% if !user.already_request_friendship?(profile) and !user.is_a_friend?(profile) %>
  • <%= button(:add, content_tag('span', __('Add friend')), profile.add_url, :class => 'add-friend', :title => _("Add friend"), :style => 'position: relative;') %>
  • <% end %> <% if user.is_a_friend?(profile) && profile.enable_contact? %>
  • <%= link_to content_tag('span', _('Send an e-mail')), {:profile => profile.identifier, :controller => 'contact', :action => 'new'}, :class => 'button with-text icon-menu-mail' %>
  • <% end %>
  • <%= report_abuse(profile, :button) %>
  • <% end %>