Sha256: c2e2407911e7d954bd20f63c11572b870bb66d033ec3e049da4f0de831df3fd9
Contents?: true
Size: 730 Bytes
Versions: 13
Compression:
Stored size: 730 Bytes
Contents
<dt> <% result.annotations.each do |annotation| %> <% if result.owner.is_a?(Concept::Base) %> <%= link_to highlight_query("#{annotation.predicate}: #{annotation.value}", params[:query]), concept_path(:id => result.owner) %><br> <% elsif result.owner.is_a?(Label::Base) %> <%= link_to highlight_query("#{annotation.predicate}: #{annotation.value}", params[:query]), label_path(:id => result.owner) %><br> <% elsif result.owner.is_a?(Collection::Base) %> <%= link_to highlight_query("#{annotation.predicate}: #{annotation.value}", params[:query]), collection_path(:id => result.owner) %><br> <% end %> <% end %> </dt> <dd><%= t('txt.views.search_results.type') %>: <%= result.class.model_name.human %></dd>
Version data entries
13 entries across 13 versions & 1 rubygems