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