Merge pull request #6514 from lasniscinote/gl_SCI_9583

Fixed Item card smart annotation link [SCI-9583]
This commit is contained in:
Martin Artnik 2023-10-23 13:59:37 +02:00 committed by GitHub
commit 1d3c17206c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 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"