Sha256: f751fbf853899804b1bbbe71da68a545fd8387524556d3966fbb101a5576b3e9

Contents?: true

Size: 874 Bytes

Versions: 18

Compression:

Stored size: 874 Bytes

Contents

<li class="search-result" data-rdf-namespace="<%= iqvoc_default_rdf_namespaces[result.rdf_namespace.try(:to_sym)] %>" data-rdf-predicate="<%= result.rdf_predicate %>" data-rdf-value="<%= result.to_s %>" data-rdf-language="<%= result.language %>">
  <% if result.owner.is_a?(Concept::Base) %>
    <%= link_to result.owner.pref_label.to_s, concept_path(:id => result.owner), :class => 'search-result-link', :data => { 'resource-path' => rdf_path(result.owner.origin, :lang => nil, :format => nil) } %>
  <% elsif result.owner.is_a?(Label::Base) %>
    <%= link_to result.owner.value, label_path(:id => result.owner), :class => 'search-result-link', :data => { 'resource-path' => rdf_path(result.owner.origin, :lang => nil, :format => nil) } %>
  <% end %>
  <p class="search-result-body"><%= highlight_query(excerpt(result.value, params[:query]), params[:query]) %></p>
</li>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
iqvoc-4.11.1 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.11.0 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.10.0 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.9.0 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.3.3 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.8.2 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.8.1 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.8.0 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.7.0 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.6.1 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.5.2 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.6.0 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.5.1 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.5.0 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.4.0 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.3.2 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.3.1 app/views/partials/note/skos/definition/_search_result.html.erb
iqvoc-4.3.0 app/views/partials/note/skos/definition/_search_result.html.erb