From 91461ab2ad23673eab4991fcb808bb9e81c7bf1e Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Fri, 29 Jul 2011 19:30:49 -0700 Subject: [PATCH] fix tag duplication; photo sizes --- app/helpers/application_helper.rb | 4 ++-- app/views/contacts/featured.haml | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 22da5e91a..8c362c384 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -73,11 +73,11 @@ module ApplicationHelper else if person.local? " - #{person_image_tag(person)} + #{person_image_tag(person, opts[:size])} ".html_safe else " - #{person_image_tag(person)} + #{person_image_tag(person, opts[:size])} ".html_safe end end diff --git a/app/views/contacts/featured.haml b/app/views/contacts/featured.haml index 6f0b48514..fdaa34ad8 100644 --- a/app/views/contacts/featured.haml +++ b/app/views/contacts/featured.haml @@ -28,9 +28,8 @@ = person.name .tags - - 5.times do |n| - - person.profile.tags.each do |tg| - = "##{tg}" + - person.profile.tags.each do |tg| + = "##{tg}" .add_user_to_aspect = render :partial => 'people/relationship_action',