Sha256: 74847b88264ab5fa98ad865d3f5be6bfd294a579b951c3dc0f1ccaecebb37b0f

Contents?: true

Size: 1.15 KB

Versions: 8

Compression:

Stored size: 1.15 KB

Contents

<%= content_tag @component,
  id: @id,
  data: {
    'document-id': @document.id.to_s.parameterize,
    'document-counter': @counter,
    'label-toggle': @document.id
  },
  itemscope: true,
  itemtype: @document.itemtype,
  class: classes.flatten.join(' ') do %>
  <% # header bar for doc items in index view -%>
    <td class="spotlight-admin-thumbnail">
      <%= thumbnail %>
    </td>
    <td>
      <%# header bar for doc items in index view -%>
      <div class="documentHeader row" data-label-toggle="<%= @document.id %>">
        <h5 class="index_title col-md-12">
          <%= helpers.link_to_document(presenter.document, itemprop: 'name') %>
        </h5>
      </div>

      <div class="page-links">
        <%= helpers.view_link presenter.document, helpers.link_to_document(presenter.document) %> &middot;
        <%= helpers.exhibit_edit_link presenter.document, [:edit, helpers.current_exhibit, presenter.document] %>
      </div>
    </td>

    <td class="text-nowrap">
      <%= timestamp %>
    </td>

    <td class="checkbox-toggle">
      <%= render partial: 'document_visibility_control', locals: { document: presenter.document} %>
    </td>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
blacklight-spotlight-4.3.3 app/components/spotlight/document_admin_table_component.html.erb
blacklight-spotlight-4.3.2 app/components/spotlight/document_admin_table_component.html.erb
blacklight-spotlight-4.3.1 app/components/spotlight/document_admin_table_component.html.erb
blacklight-spotlight-4.3.0 app/components/spotlight/document_admin_table_component.html.erb
blacklight-spotlight-4.2.0 app/components/spotlight/document_admin_table_component.html.erb
blacklight-spotlight-4.1.2 app/components/spotlight/document_admin_table_component.html.erb
blacklight-spotlight-4.1.1 app/components/spotlight/document_admin_table_component.html.erb
blacklight-spotlight-4.1.0 app/components/spotlight/document_admin_table_component.html.erb