Sha256: 44ec7631795b933a2a85420015c2430b7a81a5de47766f9107315a97fe67f77a

Contents?: true

Size: 617 Bytes

Versions: 10

Compression:

Stored size: 617 Bytes

Contents

<% # container for a single doc -%>
<% view_config = local_assigns[:view_config] || blacklight_config.view_config(document_index_view_type) %>
<%= render (view_config.document_component || Blacklight::DocumentComponent).new(presenter: document_presenter(document), counter: document_counter_with_offset(document_counter)) do |component| %>
  <% component.public_send(view_config.document_component.blank? && view_config.partials.any? ? :with_body : :with_partial) do %>
    <%= render_document_partials document, view_config.partials, component: component, document_counter: document_counter %>
  <% end %>
<% end %>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
blacklight-7.40.0 app/views/catalog/_document.html.erb
blacklight-7.39.0 app/views/catalog/_document.html.erb
blacklight-7.38.0 app/views/catalog/_document.html.erb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/app/views/catalog/_document.html.erb
blacklight-7.37.0 app/views/catalog/_document.html.erb
blacklight-7.36.2 app/views/catalog/_document.html.erb
blacklight-7.36.1 app/views/catalog/_document.html.erb
blacklight-7.36.0 app/views/catalog/_document.html.erb
blacklight-7.35.0 app/views/catalog/_document.html.erb
blacklight-7.34.0 app/views/catalog/_document.html.erb