Fixed Item card smart annotation link [SCI-9583]

This commit is contained in:
Gregor Lasnibat 2023-10-22 08:56:51 +02:00
parent 040379039f
commit 0a3ba6a366
2 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ module SmartAnnotations
if object&.repository
repository_name = fetch_repository_name(object)
"<a href='#{ROUTES.repository_repository_row_path(object.repository, object)}' " \
"class='sa-link record-info-link'><span class='sa-type'>#{trim_repository_name(repository_name)}</span>" \
"class='sa-link record-info-link text-sn-science-blue hover:text-sn-science-blue hover:no-underline'><span class='sa-type'>#{trim_repository_name(repository_name)}</span>" \
"#{object.name} #{object.archived? ? I18n.t('atwho.res.archived') : ''}</a>"
else
"<span class='sa-type'>Inv</span> #{name} #{I18n.t('atwho.res.deleted')}"

View file

@ -10,7 +10,7 @@
<% end %>
<a
role="button"
class="atwho-user-popover"
class="atwho-user-popover text-sn-science-blue hover:text-sn-science-blue hover:no-underline"
data-container="body"
data-html="true"
tabindex="0"