bugfix in peeople#_person partial displaying relationship status

This commit is contained in:
danielvincent 2010-11-07 10:51:33 -08:00
parent f594fa1d80
commit a4df6a8a53

View file

@ -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