From 18acdc7b55a16a849eaf6218b20b7141b5fc420c Mon Sep 17 00:00:00 2001 From: danielvincent Date: Sat, 23 Oct 2010 22:01:01 -0700 Subject: [PATCH] everyone instead of all on aspect#index page. photo partial avatar now links to poster's profile. --- app/views/photos/_photo.haml | 2 +- app/views/shared/_aspect_friends.haml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/views/photos/_photo.haml b/app/views/photos/_photo.haml index e3f1a5573..f89f8bba6 100644 --- a/app/views/photos/_photo.haml +++ b/app/views/photos/_photo.haml @@ -4,7 +4,7 @@ %li.message{:data=>{:guid=>post.id}} - = person_image_tag(post.person) + = person_image_link(post.person) .content .from diff --git a/app/views/shared/_aspect_friends.haml b/app/views/shared/_aspect_friends.haml index 4fc8cd646..a2fdc4395 100644 --- a/app/views/shared/_aspect_friends.haml +++ b/app/views/shared/_aspect_friends.haml @@ -4,11 +4,17 @@ #left_pane - %h2= @aspect + - if @aspect == :all + %h2= "Everyone" + - else + %h2= @aspect + .friend_pictures = owner_image_link + - for friend in @friends = person_image_link(friend) + - if @logged_in && (@aspect == :public) %h3 Facebook Friends - @fb_friends = MiniFB.get(@access_token, 'me', :type => "friends")