diff --git a/app/views/people/_person.html.haml b/app/views/people/_person.html.haml index ab45b50a3..23ed76f82 100644 --- a/app/views/people/_person.html.haml +++ b/app/views/people/_person.html.haml @@ -13,7 +13,7 @@ .right{:style=>"display:inline;"} - if person.id == current_user.person.id = t('.thats_you') - - elsif current_user.friends.include?(person) + - elsif current_user.person_objects.include?(person) = t('.already_friends') - elsif current_user.pending_requests.find_by_person_id(person.id) = link_to =t('.pending_request'), aspects_manage_path