Sha256: 80ac69b7fae9f3de63f467d5a07193263c0db38aa2c4fa9fe07f0af4b346143b

Contents?: true

Size: 659 Bytes

Versions: 21

Compression:

Stored size: 659 Bytes

Contents

<%= content_tag @component,
  id: @id,
  data: {
    'document-id': @document.id.to_s.parameterize,
    'document-counter': @counter,
  },
  itemscope: true,
  itemtype: @document.itemtype,
  class: classes.flatten.join(' ') do %>
  <%= header %>
  <% if body.present? %>
    <%= body %>
  <% else %>
    <div class="document-main-section">
      <%= title %>
      <%= embed %>
      <%= content %>
      <%= metadata %>
      <% metadata_sections.each do |section| %>
        <%= section %>
      <% end %>

      <% partials.each do |partial| %>
        <%= partial %>
      <% end %>
    </div>

    <%= thumbnail %>
  <% end %>
  <%= footer %>
<% end %>

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
blacklight-8.6.1 app/components/blacklight/document_component.html.erb
blacklight-8.6.0 app/components/blacklight/document_component.html.erb
blacklight-8.5.1 app/components/blacklight/document_component.html.erb
blacklight-8.5.0 app/components/blacklight/document_component.html.erb
blacklight-8.4.0 app/components/blacklight/document_component.html.erb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/app/components/blacklight/document_component.html.erb
blacklight-8.3.0 app/components/blacklight/document_component.html.erb
blacklight-8.2.2 app/components/blacklight/document_component.html.erb
blacklight-8.2.1 app/components/blacklight/document_component.html.erb
blacklight-8.2.0 app/components/blacklight/document_component.html.erb
blacklight-8.1.0 app/components/blacklight/document_component.html.erb
blacklight-8.0.1 app/components/blacklight/document_component.html.erb
blacklight-8.0.0 app/components/blacklight/document_component.html.erb
blacklight-8.0.0.beta8 app/components/blacklight/document_component.html.erb
blacklight-8.0.0.beta7 app/components/blacklight/document_component.html.erb
blacklight-8.0.0.beta6 app/components/blacklight/document_component.html.erb
blacklight-8.0.0.beta5 app/components/blacklight/document_component.html.erb
blacklight-8.0.0.beta4 app/components/blacklight/document_component.html.erb
blacklight-8.0.0.beta3 app/components/blacklight/document_component.html.erb
blacklight-8.0.0.beta2 app/components/blacklight/document_component.html.erb