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
|
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
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@
|
||||||
= person.name
|
= person.name
|
||||||
|
|
||||||
.tags
|
.tags
|
||||||
- 5.times do |n|
|
|
||||||
- person.profile.tags.each do |tg|
|
- person.profile.tags.each do |tg|
|
||||||
= "##{tg}"
|
= "##{tg}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue