bugfix in peeople#_person partial displaying relationship status
This commit is contained in:
parent
f594fa1d80
commit
a4df6a8a53
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
.right{:style=>"display:inline;"}
|
.right{:style=>"display:inline;"}
|
||||||
- if person.id == current_user.person.id
|
- if person.id == current_user.person.id
|
||||||
= t('.thats_you')
|
= t('.thats_you')
|
||||||
- elsif current_user.friends.include?(person)
|
- elsif current_user.person_objects.include?(person)
|
||||||
= t('.already_friends')
|
= t('.already_friends')
|
||||||
- elsif current_user.pending_requests.find_by_person_id(person.id)
|
- elsif current_user.pending_requests.find_by_person_id(person.id)
|
||||||
= link_to =t('.pending_request'), aspects_manage_path
|
= link_to =t('.pending_request'), aspects_manage_path
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue