mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-09 13:46:21 +08:00
Fix smart annotation for archived items
This commit is contained in:
parent
6726a19cbe
commit
784788e9f3
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…
Add table
Reference in a new issue