Skip to content

Commit

Permalink
Fix Nomenclature section layout
Browse files Browse the repository at this point in the history
- removes blank line between real_text_name and authors
  • Loading branch information
JoeCohen committed Mar 16, 2024
1 parent 99860f4 commit 3784740
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/views/controllers/names/show/_nomenclature.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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}: ")
Expand Down

0 comments on commit 3784740

Please sign in to comment.