aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-08-08 23:19:23 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-08-09 22:05:41 +0200
commit9c1c968079ea0f5f63b8605a34e46f0a52d54f0a (patch)
treef7b2de63f84f5880ee1e1952847e5c0042128f6d /app/views
parent13243d96bf5bf945cb68fe752598abc8a0b0274a (diff)
downloadoperum-9c1c968079ea0f5f63b8605a34e46f0a52d54f0a.tar.gz
operum-9c1c968079ea0f5f63b8605a34e46f0a52d54f0a.zip
shared_searches: Remove underscores on authors
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared_searches/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared_searches/show.html.erb b/app/views/shared_searches/show.html.erb
index ed605bd..30ea3f5 100644
--- a/app/views/shared_searches/show.html.erb
+++ b/app/views/shared_searches/show.html.erb
@@ -16,7 +16,7 @@
<% if res.is_a? Thing %>
<summary><%= res.title %></summary>
<div class="details-flex">
- <div><span><b><%= I18n.t('activerecord.attributes.thing.authors') %></b>: <%= authors_or_editors(res) %></span></div>
+ <div><span><b><%= I18n.t('activerecord.attributes.thing.authors') %></b>: <%= authors_or_editors(res).gsub('_', '') %></span></div>
<div><span><b><%= I18n.t('activerecord.attributes.thing.publisher') %></b>: <%= string_maybe(res.publisher) %></span></div>
<div><span><b><%= I18n.t('activerecord.attributes.thing.year') %></b>: <%= string_maybe(res.year) %></span></div>
<div><span><b><%= I18n.t('activerecord.attributes.thing.kind') %></b>: <%= I18n.t("things.kind.#{res.kind}") %></span></div>