Sha256: f0f98217cce6f0107a81837a9bd412d3ca257bef8449f61b194a588122199875

Contents?: true

Size: 1.19 KB

Versions: 3

Compression:

Stored size: 1.19 KB

Contents

<% if owner = result.owner %>
<li class="search-result" data-rdf-namespace="<%= result.rdf_namespace %>" data-rdf-predicate="<%= result.rdf_predicate %>" data-rdf-value="<%= result.to_s %>" data-rdf-language="<%= result.language %>">
  <%= link_to_object(owner, result.target.value, :class => 'search-result-link', :data => { 'resource-path' => rdf_path(owner.origin, :lang => nil, :format => nil) }) %>
  <% if owner.additional_info.present? %>
    <span class="additional_info">(<%= owner.additional_info %>)</span>
  <% end %>
  <% if owner.expired? %>
    <span class="badge badge-info"><%= t('txt.views.concepts.expired_at', date: l(owner.expired_at, format: :long)) %></span>
  <% end %>
  <dl class="search-result-meta">
    <dt class="search-result-key"><%= t('txt.views.search_results.type') %></dt>
    <dd class="search-result-value" data-key="<%= t('txt.views.search_results.type') %>"><%= result.model_name.human %></dd>
    <% if result.target.language %>
    <dt class="search-result-key"><%= t('txt.views.search_results.language') %></dt>
    <dd class="search-result-value" data-key="<%= t('txt.views.search_results.language') %>"><%= result.target.language %></dd>
    <% end %>
  </dl>
</li>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
iqvoc-4.14.5 app/views/partials/labeling/skos/_search_result.html.erb
iqvoc-4.14.4 app/views/partials/labeling/skos/_search_result.html.erb
iqvoc-4.13.2 app/views/partials/labeling/skos/_search_result.html.erb