removed private info if you are not friends

This commit is contained in:
maxwell 2010-11-06 16:34:41 -07:00
parent 3876de9cf2
commit a971985884

View file

@ -21,7 +21,7 @@
- for aspect in @aspects_with_person
%li= link_to aspect.name, aspect
-if is_contact || person == current_user.person
%ul#profile_information
%li
%b bio
@ -36,9 +36,4 @@
%br
= "#{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