fix tag duplication; photo sizes
This commit is contained in:
parent
315ec29af2
commit
91461ab2ad
2 changed files with 4 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
= person.name
|
||||
|
||||
.tags
|
||||
- 5.times do |n|
|
||||
- person.profile.tags.each do |tg|
|
||||
= "##{tg}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue