Sha256: 8a2dc2cfe077ca4a9b038c5e340ba6dd9a267dc5c4f3f1811204706e74a27581
Contents?: true
Size: 1.9 KB
Versions: 4
Compression:
Stored size: 1.9 KB
Contents
<%# This is a search result view %> <% noid = document.noid %> <% solr_doc = document.inner_object.solr_doc %> <li id="document_<%= noid %>" class="search-result"> <%= render :partial => 'catalog/_index_partials/identifier_and_action', locals: {document: document, counter: document_counter} %> <div class="row-fluid"> <div class="span3"> <%= render :partial => 'catalog/_index_partials/thumbnail_display', locals: {document: document} %> </div> <div class="span9"> <dl class="attribute-list"> <% if solr_doc.has?('desc_metadata__contributor_tesim') %> <dt>Author(s):</dt> <dd><%= render_index_field_value(document: solr_doc, field: 'desc_metadata__contributor_tesim') %></dd> <% end %> <% if solr_doc.has?('desc_metadata__description_tesim') %> <dt>Description:</dt> <dd><%= truncate(render_index_field_value(document: solr_doc, field: 'desc_metadata__description_tesim'), length: 150) %></dd> <% end %> <% if solr_doc.has?('desc_metadata__publisher_tesim') %> <dt>Publisher(s): </dt> <dd><%= render_index_field_value(document: solr_doc, field: 'desc_metadata__publisher_tesim') %></dd> <% end %> </dl> <a href="" title="Click for more details"><i id="expand_<%= noid %>" class="icon-plus icon-large show-details"></i></a> <dl class="attribute-list extended-attributes hide"> <% index_fields.each do |solr_fname, field| -%> <% if should_render_index_field? document.inner_object.solr_doc, field %> <dt class="blacklight-<%= solr_fname.parameterize %>"><%= render_index_field_label :field => solr_fname %></dt> <dd class="blacklight-<%= solr_fname.parameterize %>"><%= render_index_field_value :document=>document.inner_object.solr_doc, :field => solr_fname %></dd> <% end -%> <% end -%> </dl> </div> </div> </li>
Version data entries
4 entries across 4 versions & 1 rubygems