mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-10 05:46:47 +08:00
Merge pull request #5802 from sboursen-scinote/sb_SCI-8866-8867
Fix smart annotation popover in tasks [SCI-8867]
This commit is contained in:
commit
eb37a68f27
2 changed files with 3 additions and 3 deletions
|
@ -171,7 +171,7 @@ module ApplicationHelper
|
||||||
user_avatar_popover_absolute_url: user_avatar_absolute_url(
|
user_avatar_popover_absolute_url: user_avatar_absolute_url(
|
||||||
user,
|
user,
|
||||||
:thumb,
|
:thumb,
|
||||||
base64_encoded_imgs
|
base64_encoded_imgs && user.avatar.attached?
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
formats: :html
|
formats: :html
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
data-full-name="<%= user.full_name %>"
|
data-full-name="<%= user.full_name %>"
|
||||||
data-email="<%= user.email %>"
|
data-email="<%= user.email %>"
|
||||||
data-popover-html="<%= popover_html %>"
|
data-popover-html="<%= popover_html %>"
|
||||||
data-user-avatar-popover-absolute-url="<%= user_avatar_absolute_url(user, :thumb, user.avatar.attached?) %>"
|
data-user-avatar-popover-absolute-url="<%= user_avatar_popover_absolute_url %>"
|
||||||
>
|
>
|
||||||
<%= user.full_name %>
|
<%= user.full_name %>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Add table
Reference in a new issue