Sha256: aa50cffe5b6d1510c47dbf284572dd02b104e38e15292c32d5e625c1e7d8b478

Contents?: true

Size: 737 Bytes

Versions: 24

Compression:

Stored size: 737 Bytes

Contents

<%- if owner = result.owner -%>
  <dt>
    <% case owner.class.name %>
    <% when Iqvoc::Concept.base_class_name %>
      <%= link_to highlight_query(result.target.value, params[:query]), concept_path(:id => owner) %>
    <% when Iqvoc::Collection.base_class_name %>
      <%= link_to highlight_query(result.target.value, params[:query]), collection_path(:id => owner) %>
    <% end %>
    <%- if owner.additional_info.present? -%>
      (<%= owner.additional_info %>)
    <%- end -%>
  </dt>
  <dd><%= t('txt.views.search_results.type') %>: <%= result.class.model_name.human %></dd>
  <%- if result.target.language -%>
    <dd><%= t('txt.views.search_results.language') %>: <%= result.target.language %></dd>
  <%- end -%>
<%- end -%>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
iqvoc-3.5.2 app/views/partials/labeling/skos/_search_result.html.erb
iqvoc-3.5.1 app/views/partials/labeling/skos/_search_result.html.erb
iqvoc-3.5.0 app/views/partials/labeling/skos/_search_result.html.erb
iqvoc-3.4.0 app/views/partials/labeling/skos/_search_result.html.erb