mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Merge pull request #6514 from lasniscinote/gl_SCI_9583
Fixed Item card smart annotation link [SCI-9583]
This commit is contained in:
commit
1d3c17206c
2 changed files with 2 additions and 2 deletions
|
@ -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')}"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue