diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-08-08 23:19:23 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-08-09 22:05:41 +0200 |
| commit | 9c1c968079ea0f5f63b8605a34e46f0a52d54f0a (patch) | |
| tree | f7b2de63f84f5880ee1e1952847e5c0042128f6d /app/views/shared_searches/show.html.erb | |
| parent | 13243d96bf5bf945cb68fe752598abc8a0b0274a (diff) | |
| download | operum-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/shared_searches/show.html.erb')
| -rw-r--r-- | app/views/shared_searches/show.html.erb | 2 |
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> |
