From 5fd105c1dc7da6f34664f4e77bf937b72c1b5ac1 Mon Sep 17 00:00:00 2001 From: Daniel Vincent Grippi Date: Wed, 8 Sep 2010 12:04:05 -0700 Subject: [PATCH] DG MS; search now links user names if you're friends with them --- app/views/people/index.html.haml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/people/index.html.haml b/app/views/people/index.html.haml index bbd50ddd0..e550ae090 100644 --- a/app/views/people/index.html.haml +++ b/app/views/people/index.html.haml @@ -18,7 +18,11 @@ %th url - for person in @people %tr - %td= person.real_name + - if current_user.friends.include? person + %td= link_to person.real_name, person + - else + %td= person.real_name + %td= person.email %td= person.url