fix bug with avatar in system log

This commit is contained in:
Mojca Lorber 2017-05-09 14:40:02 +02:00
parent 596b296c84
commit e1475fbfef

View file

@ -212,9 +212,8 @@ 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(image_tag(user_avatar_absolute_url(user, :icon_small), "alt='icon_small' class='atwho-user-img-popover'>") +
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" ' \