mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-30 11:41:19 +08:00
fix hound
This commit is contained in:
parent
e1475fbfef
commit
7ca62a16bb
1 changed files with 7 additions and 6 deletions
|
@ -212,13 +212,14 @@ module ApplicationHelper
|
||||||
else
|
else
|
||||||
user_description += %(<p></p></div></div></div>)
|
user_description += %(<p></p></div></div></div>)
|
||||||
end
|
end
|
||||||
|
|
||||||
raw("<img src='#{user_avatar_absolute_url(user, :icon_small)}'" \
|
raw("<img src='#{user_avatar_absolute_url(user, :icon_small)}'" \
|
||||||
"alt='icon_small' class='atwho-user-img-popover'>") +
|
"alt='avatar' class='atwho-user-img-popover'>") +
|
||||||
raw('<a onClick="$(this).popover(\'show\')" ' \
|
raw('<a onClick="$(this).popover(\'show\')" ' \
|
||||||
'class="atwho-user-popover" data-container="body" ' \
|
'class="atwho-user-popover" data-container="body" ' \
|
||||||
'data-html="true" tabindex="0" data-trigger="focus" ' \
|
'data-html="true" tabindex="0" data-trigger="focus" ' \
|
||||||
'data-placement="top" data-toggle="popover" data-content="') +
|
'data-placement="top" data-toggle="popover" data-content="') +
|
||||||
raw(user_description) + raw('" >') + user.full_name + raw('</a>')
|
raw(user_description) + raw('" >') + user.full_name + raw('</a>')
|
||||||
end
|
end
|
||||||
|
|
||||||
def user_avatar_absolute_url(user, style)
|
def user_avatar_absolute_url(user, style)
|
||||||
|
|
Loading…
Reference in a new issue