mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
Merge pull request #2707 from aignatov-bio/ai-sci-4839-fix-smart-annotation-name-on-archived-items
Fix smart annotation for archived items [SCI-4839]
This commit is contained in:
commit
b85985afc3
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ module SmartAnnotations
|
|||
if object
|
||||
repository_name = fetch_repository_name(object)
|
||||
link = if object.archived?
|
||||
"#{repository_name} #{I18n.t('atwho.res.archived')}"
|
||||
"#{object.name} #{I18n.t('atwho.res.archived')}"
|
||||
else
|
||||
"<a href='#{ROUTES.repository_repository_row_path(object.repository, object)}' " \
|
||||
"class='record-info-link'>#{object.name}</a>"
|
||||
|
|
Loading…
Reference in a new issue