mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 18:52:07 +08:00
Revert "Fixed Item card smart annotation link [SCI-9583]"
This reverts commit 0a3ba6a366
.
This commit is contained in:
parent
1d3c17206c
commit
2850135e96
2 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ module SmartAnnotations
|
||||||
if object&.repository
|
if object&.repository
|
||||||
repository_name = fetch_repository_name(object)
|
repository_name = fetch_repository_name(object)
|
||||||
"<a href='#{ROUTES.repository_repository_row_path(object.repository, object)}' " \
|
"<a href='#{ROUTES.repository_repository_row_path(object.repository, object)}' " \
|
||||||
"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>" \
|
"class='sa-link record-info-link'><span class='sa-type'>#{trim_repository_name(repository_name)}</span>" \
|
||||||
"#{object.name} #{object.archived? ? I18n.t('atwho.res.archived') : ''}</a>"
|
"#{object.name} #{object.archived? ? I18n.t('atwho.res.archived') : ''}</a>"
|
||||||
else
|
else
|
||||||
"<span class='sa-type'>Inv</span> #{name} #{I18n.t('atwho.res.deleted')}"
|
"<span class='sa-type'>Inv</span> #{name} #{I18n.t('atwho.res.deleted')}"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<a
|
<a
|
||||||
role="button"
|
role="button"
|
||||||
class="atwho-user-popover text-sn-science-blue hover:text-sn-science-blue hover:no-underline"
|
class="atwho-user-popover"
|
||||||
data-container="body"
|
data-container="body"
|
||||||
data-html="true"
|
data-html="true"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
|
@ -32,4 +32,4 @@
|
||||||
<% unless skip_user_status || user_still_in_team %>
|
<% unless skip_user_status || user_still_in_team %>
|
||||||
<%= I18n.t('atwho.res.removed') %>
|
<%= I18n.t('atwho.res.removed') %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</span>
|
</span>
|
Loading…
Reference in a new issue