<% # header bar for doc items in index view -%> <%= render_document_partial document, 'spotlight/catalog/admin_thumbnail', document_counter: document_counter %> <%= render_document_partial document, 'admin_index_header', document_counter: document_counter %> <%= l Date.parse(document[blacklight_config.index.timestamp_field]) if document[blacklight_config.index.timestamp_field] %> <%= render partial: 'document_visibility_control', locals: { document: document} %>