otwarchive-symphonyarchive/app/views/share/_embed_link_header.html.erb

11 lines
415 B
Text
Raw Permalink Normal View History

2026-03-11 22:22:11 +00:00
<% creators = if work.anonymous?
ts("Anonymous")
else
work.pseuds.map { |pseud| link_to(tag.strong(pseud.name), user_url(pseud.user)) }.join(", ")
end %>
<%= ts("%{work_link} (%{word_count} words) by %{creators}",
work_link: link_to(tag.strong(work.title), work_url(work)),
word_count: work.word_count,
creators: creators).html_safe %>