Sha256: 53535d4d9f85262141481506348d56931279d637ff7b1ab06ba9f272a63763e6

Contents?: true

Size: 1.1 KB

Versions: 4

Compression:

Stored size: 1.1 KB

Contents

<%# This is a search result view %>
<% noid = collection.noid %>
<% solr_doc = collection.inner_object.solr_doc %>
<li id="document_<%= noid %>" class="search-result">

  <%= render :partial => 'catalog/_index_partials/identifier_and_action', locals: { document: collection, counter: collection_counter, title_link_target: collection, edit_path: edit_collection_path(collection), solr_doc: solr_doc } %>

  <div class="row-fluid">

    <div class="span2">
      <%= render :partial => 'catalog/_index_partials/thumbnail_display', locals: {document: collection} %>
    </div>

    <div class="span10">
      <dl class="attribute-list">
        <% 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?('edit_access_person_ssim') %>
          <dt>Owner:</dt>
          <dd><%= render_index_field_value(document: solr_doc, field: 'edit_access_person_ssim') %></dd>
        <% end %>
    </div>

  </div>

</li>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
curate-0.6.6 app/views/collections/_collection.html.erb
curate-0.6.5 app/views/collections/_collection.html.erb
curate-0.6.4 app/views/collections/_collection.html.erb
curate-0.6.3 app/views/collections/_collection.html.erb