Skip to content

Commit

Permalink
make the creators and organization , names capitilize
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Nov 21, 2023
1 parent 9a4a2fd commit b38edb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/agent_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def display_identifiers(identifiers, link: true)
end

def display_agent(agent, link: true)
out = agent.name.to_s.humanize
out = agent.name.to_s.titleize
identifiers = display_identifiers(agent.identifiers, link: link)
out = "#{out} (#{identifiers})" unless identifiers.empty?
affiliations = agent.affiliations.map { |a| display_agent(a, link: link) }.join(', ')
Expand Down

0 comments on commit b38edb0

Please sign in to comment.