From 378474000ce846e2f5d9c430d518230a0d6a60a4 Mon Sep 17 00:00:00 2001 From: Joe Cohen Date: Fri, 15 Mar 2024 18:08:30 -0700 Subject: [PATCH] Fix Nomenclature section layout - removes blank line between real_text_name and authors --- app/views/controllers/names/show/_nomenclature.html.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/controllers/names/show/_nomenclature.html.erb b/app/views/controllers/names/show/_nomenclature.html.erb index cc3fa0ebec..b7cb9be6cf 100644 --- a/app/views/controllers/names/show/_nomenclature.html.erb +++ b/app/views/controllers/names/show/_nomenclature.html.erb @@ -35,6 +35,8 @@ synonym_links = [approve, deprecate].reject(&:nil?).safe_join(" | ") concat( [tag.span(class: "text-nowrap ml-3") { synonyms }].safe_join ) if synonyms + concat(tag.p(["#{:AUTHORITY.l}: ", name.author.to_s.t].safe_join)) + concat(tag.p(["#{:CITATION.l}: ", name.citation.to_s.tl].safe_join)) end ].safe_join end) @@ -79,9 +81,6 @@ synonym_links = [approve, deprecate].reject(&:nil?).safe_join(" | ") end) - concat(tag.p(["#{:AUTHORITY.l}: ", name.author.to_s.t].safe_join)) - concat(tag.p(["#{:CITATION.l}: ", name.citation.to_s.tl].safe_join)) - if name.is_misspelling? concat(tag.p do concat("#{:show_name_misspelling_correct.l}: ")