Sha256: d4412f98f89830758971559459208dea77b25cd3a07e047cc7e11768128af7fa

Contents?: true

Size: 649 Bytes

Versions: 12

Compression:

Stored size: 649 Bytes

Contents

<% # container for a single doc -%>
<%= render (blacklight_config.view_config(document_index_view_type).document_component || Blacklight::DocumentComponent).new(document: document, counter: document_counter_with_offset(document_counter)) do |component| %>
  <% component.with(blacklight_config.view_config(document_index_view_type).document_component.blank? && blacklight_config.view_config(document_index_view_type).partials.any? ? :body : :partials) do %>
    <%= render_document_partials document, blacklight_config.view_config(document_index_view_type).partials, component: component, document_counter: document_counter %>
  <% end %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
blacklight-7.16.0 app/views/catalog/_document.html.erb
blacklight-7.15.2 app/views/catalog/_document.html.erb
blacklight-7.15.1 app/views/catalog/_document.html.erb
blacklight-7.15.0 app/views/catalog/_document.html.erb
blacklight-7.14.1 app/views/catalog/_document.html.erb
blacklight-7.14.0 app/views/catalog/_document.html.erb
blacklight-7.13.2 app/views/catalog/_document.html.erb
blacklight-7.13.1 app/views/catalog/_document.html.erb
blacklight-7.13.0 app/views/catalog/_document.html.erb
blacklight-7.12.1 app/views/catalog/_document.html.erb
blacklight-7.12.0 app/views/catalog/_document.html.erb
blacklight-7.11.1 app/views/catalog/_document.html.erb