mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
fix bug with avatar in system log
This commit is contained in:
parent
596b296c84
commit
e1475fbfef
1 changed files with 2 additions and 3 deletions
|
@ -212,9 +212,8 @@ module ApplicationHelper
|
|||
else
|
||||
user_description += %(<p></p></div></div></div>)
|
||||
end
|
||||
|
||||
raw(image_tag(user_avatar_absolute_url(user, :icon_small),
|
||||
class: 'atwho-user-img-popover')) +
|
||||
raw("<img src='#{user_avatar_absolute_url(user, :icon_small)}'" \
|
||||
"alt='icon_small' class='atwho-user-img-popover'>") +
|
||||
raw('<a onClick="$(this).popover(\'show\')" ' \
|
||||
'class="atwho-user-popover" data-container="body" ' \
|
||||
'data-html="true" tabindex="0" data-trigger="focus" ' \
|
||||
|
|
Loading…
Reference in a new issue