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 else
if person.local? if person.local?
"<a href='/u/#{person.diaspora_handle.split('@')[0]}' class='#{opts[:class]}'> "<a href='/u/#{person.diaspora_handle.split('@')[0]}' class='#{opts[:class]}'>
#{person_image_tag(person)} #{person_image_tag(person, opts[:size])}
</a>".html_safe </a>".html_safe
else else
"<a href='/people/#{person.id}'> "<a href='/people/#{person.id}'>
#{person_image_tag(person)} #{person_image_tag(person, opts[:size])}
</a>".html_safe </a>".html_safe
end end
end end

View file

@ -28,9 +28,8 @@
= person.name = person.name
.tags .tags
- 5.times do |n| - person.profile.tags.each do |tg|
- person.profile.tags.each do |tg| = "##{tg}"
= "##{tg}"
.add_user_to_aspect .add_user_to_aspect
= render :partial => 'people/relationship_action', = render :partial => 'people/relationship_action',