From 2850135e961cd8d5ceb7ce0813535f649f37d780 Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Tue, 24 Oct 2023 13:14:23 +0200 Subject: [PATCH] Revert "Fixed Item card smart annotation link [SCI-9583]" This reverts commit 0a3ba6a366ac5d37200052a37d6497caedd2a8e3. --- app/services/smart_annotations/html_preview.rb | 2 +- app/views/shared/_atwho_user_container.html.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/services/smart_annotations/html_preview.rb b/app/services/smart_annotations/html_preview.rb index 3a37ce6ed..b741bcbcd 100644 --- a/app/services/smart_annotations/html_preview.rb +++ b/app/services/smart_annotations/html_preview.rb @@ -43,7 +43,7 @@ module SmartAnnotations if object&.repository repository_name = fetch_repository_name(object) "#{trim_repository_name(repository_name)}" \ + "class='sa-link record-info-link'>#{trim_repository_name(repository_name)}" \ "#{object.name} #{object.archived? ? I18n.t('atwho.res.archived') : ''}" else "Inv #{name} #{I18n.t('atwho.res.deleted')}" diff --git a/app/views/shared/_atwho_user_container.html.erb b/app/views/shared/_atwho_user_container.html.erb index b741d8365..5d217f46c 100644 --- a/app/views/shared/_atwho_user_container.html.erb +++ b/app/views/shared/_atwho_user_container.html.erb @@ -10,7 +10,7 @@ <% end %> <%= I18n.t('atwho.res.removed') %> <% end %> - + \ No newline at end of file