% unless @search.description.blank? %>
<%= I18n.t('searches.none') %>.
<% else %>|
<% if res.is_a? Thing %>
<%= res.title %><%= I18n.t('activerecord.attributes.thing.authors') %>: <%= authors_or_editors(res).gsub('_', '') %>
<%= I18n.t('activerecord.attributes.thing.publisher') %>: <%= string_maybe(res.publisher) %>
<%= I18n.t('activerecord.attributes.thing.year') %>: <%= string_maybe(res.year) %>
<%= I18n.t('activerecord.attributes.thing.kind') %>: <%= I18n.t("things.kind.#{res.kind}") %>
<% if res.note.present? %>
<%= I18n.t('activerecord.attributes.thing.note') %>: <%= res.note %>
<% end %>
<% unless res.url.blank? %>
<% end %>
<%= I18n.t('comments.title') %> <%= I18n.t('general.in') %> «<%= res.thing.title %>»
<%= res.content %>
<% end %>
|