Merge pull request #659 from shawnwebs/popover_usernames
List diaspora id on profile pics, courtesy diasporg
This commit is contained in:
commit
8935c57722
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def person_image_tag(person, size=:thumb_small)
|
||||
"<img alt=\"#{h(person.name)}\" class=\"avatar\" data-person_id=\"#{person.id}\" src=\"#{person.profile.image_url(size)}\" title=\"#{h(person.name)}\">".html_safe
|
||||
"<img alt=\"#{h(person.name)}\" class=\"avatar\" data-person_id=\"#{person.id}\" src=\"#{person.profile.image_url(size)}\" title=\"#{h(person.name)} is #{h(person.diaspora_handle)}\">".html_safe
|
||||
end
|
||||
|
||||
def person_link(person, opts={})
|
||||
|
|
|
|||
Loading…
Reference in a new issue