Sha256: bcd4f304699dbcbb7d7a414c910a269d3d4d072e3e37ee403b9e1c9cbfa4149c

Contents?: true

Size: 673 Bytes

Versions: 8

Compression:

Stored size: 673 Bytes

Contents

<div class="box" data-id="<%= document.id %>">
  <% view_config = blacklight_config.view_config(:embed) %>
  <%= render (view_config.document_component || Spotlight::SolrDocumentLegacyEmbedComponent).new((Blacklight.version > '8.0' ? :document : :presenter) => document_presenter(document, view_config: view_config), counter: nil, block: local_assigns[:block]) do |component| %>
    <% component.with_partial do %>
      <%= render_document_partials document, view_config.partials, component: component, document_counter: nil, view_config: view_config, block: local_assigns[:block], **(view_config.locals) %>
    <% end if view_config&.partials&.any? %>
  <% end %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
blacklight-spotlight-4.6.1 app/views/spotlight/sir_trevor/blocks/_embedded_document.html.erb
blacklight-spotlight-4.6.0 app/views/spotlight/sir_trevor/blocks/_embedded_document.html.erb
blacklight-spotlight-4.5.0 app/views/spotlight/sir_trevor/blocks/_embedded_document.html.erb
blacklight-spotlight-4.4.0 app/views/spotlight/sir_trevor/blocks/_embedded_document.html.erb
blacklight-spotlight-4.3.6 app/views/spotlight/sir_trevor/blocks/_embedded_document.html.erb
blacklight-spotlight-4.3.5 app/views/spotlight/sir_trevor/blocks/_embedded_document.html.erb
blacklight-spotlight-4.3.4 app/views/spotlight/sir_trevor/blocks/_embedded_document.html.erb
blacklight-spotlight-4.3.3 app/views/spotlight/sir_trevor/blocks/_embedded_document.html.erb