Sha256: e2d1bb054d70ae6b7c50641949ce2a1009ba55aeddce1c47499903267719fd4f

Contents?: true

Size: 868 Bytes

Versions: 2

Compression:

Stored size: 868 Bytes

Contents

<% # container for all documents in index view -%>
<% view_config = local_assigns[:view_config] || blacklight_config&.view_config(default_document_index_view_type) %>
<table id="documents" class="table">
  <thead>
    <tr>
      <th class="thumbnail-column"></th>
      <th scope="col"><%= t(:'spotlight.catalog.fields.title') %></th>
      <th scope="col" class="text-nowrap"><%= t(:'spotlight.catalog.fields.date_added') %></th>
      <th scope="col" class="checkbox-toggle"><%= t(:'spotlight.catalog.fields.visibility') %></th>
    </tr>
  </thead>

  <% if Blacklight.version < '8.0' %>
    <%= render view_config.document_component.with_collection(documents) %>
  <% else %>
    <% document_presenters = documents.map { |doc| document_presenter(doc) } -%>
    <%= render view_config.document_component.with_collection(document_presenters) %>
  <% end %>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-spotlight-4.1.1 app/views/spotlight/catalog/_document_admin_table.html.erb
blacklight-spotlight-4.1.0 app/views/spotlight/catalog/_document_admin_table.html.erb