removed private info if you are not friends
This commit is contained in:
parent
3876de9cf2
commit
a971985884
1 changed files with 14 additions and 19 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
- for aspect in @aspects_with_person
|
- for aspect in @aspects_with_person
|
||||||
%li= link_to aspect.name, aspect
|
%li= link_to aspect.name, aspect
|
||||||
|
|
||||||
|
-if is_contact || person == current_user.person
|
||||||
%ul#profile_information
|
%ul#profile_information
|
||||||
%li
|
%li
|
||||||
%b bio
|
%b bio
|
||||||
|
|
@ -36,9 +36,4 @@
|
||||||
%br
|
%br
|
||||||
= "#{time_ago_in_words(person.profile.birthday)} ago" if @person.profile.birthday
|
= "#{time_ago_in_words(person.profile.birthday)} ago" if @person.profile.birthday
|
||||||
|
|
||||||
- if is_contact
|
|
||||||
/%li
|
|
||||||
/%i= t(".friends_since",:how_long_ago => how_long_ago(person))
|
|
||||||
|
|
||||||
%b.small= person.diaspora_handle
|
%b.small= person.diaspora_handle
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue