fix tag duplication; photo sizes

This commit is contained in:
danielgrippi 2011-07-29 19:30:49 -07:00
parent 315ec29af2
commit 91461ab2ad
2 changed files with 4 additions and 5 deletions

View file

@ -73,11 +73,11 @@ module ApplicationHelper
else
if person.local?
"<a href='/u/#{person.diaspora_handle.split('@')[0]}' class='#{opts[:class]}'>
#{person_image_tag(person)}
#{person_image_tag(person, opts[:size])}
</a>".html_safe
else
"<a href='/people/#{person.id}'>
#{person_image_tag(person)}
#{person_image_tag(person, opts[:size])}
</a>".html_safe
end
end

View file

@ -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',