Sha256: deb7a90894d36f417a459f05f4c76c33096bb6d0bc54888af13a8b8a003541e4

Contents?: true

Size: 1.89 KB

Versions: 11

Compression:

Stored size: 1.89 KB

Contents

<div role="tabpanel" class="tab-pane bulkrax-nav-tab-table-left-align" id="collection-entries">
  <table class='table table-striped'>
    <thead>
      <tr>
        <th><%= t('bulkrax.table_header.labels.identifier') %></th>
        <th><%= t('bulkrax.table_header.labels.entry_id') %></th>
        <th><%= t('bulkrax.table_header.labels.status') %></th>
        <th><%= t('bulkrax.table_header.labels.errors') %></th>
        <th><%= t('bulkrax.table_header.labels.status_set_at') %></th>
        <th><%= t('bulkrax.table_header.labels.actions') %></th>
      </tr>
    </thead>
    <tbody>
      <% entries.each do |e| %>
        <% entry_path = item.class.to_s.include?('Importer') ? bulkrax.importer_entry_path(item.id, e.id) : bulkrax.exporter_entry_path(item.id, e.id) %>
        <tr>
          <td><%= link_to e.identifier, entry_path %></td>
          <td><%= e.id %></td>
          <% if e.status == "Complete" %>
            <td><span class="glyphicon glyphicon-ok" style="color: green;"></span> <%= e.status %></td>
          <% elsif e.status == "Pending" %>
            <td><span class="glyphicon glyphicon-option-horizontal" style="color: blue;"></span> <%= e.status %></td>
          <% else %>
            <td><span class="glyphicon glyphicon-remove" style="color: <%= e.status == 'Deleted' ? 'green' : 'red' %>;"></span> <%= e.status %></td>
          <% end %>
          <% if e.last_error.present? %>
            <td><%= link_to e.last_error.dig("error_class"), entry_path %></td>
          <% else %>
            <td></td>
          <% end %>
          <td><%= e.status_at %></td>
          <td><%= link_to raw('<span class="glyphicon glyphicon-info-sign"></span>'), entry_path %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
  <%= page_entries_info(entries) %><br />
  <%= paginate(entries, theme: 'blacklight', param_name: :collections_entries_page, params: { anchor: 'collection-entries' }) %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bulkrax-5.5.1 app/views/bulkrax/shared/_collection_entries_tab.html.erb
bulkrax-5.4.2 app/views/bulkrax/shared/_collection_entries_tab.html.erb
bulkrax-5.3.1 app/views/bulkrax/shared/_collection_entries_tab.html.erb
bulkrax-6.0.1 app/views/bulkrax/shared/_collection_entries_tab.html.erb
bulkrax-6.0.0 app/views/bulkrax/shared/_collection_entries_tab.html.erb
bulkrax-5.5.0 app/views/bulkrax/shared/_collection_entries_tab.html.erb
bulkrax-5.4.1 app/views/bulkrax/shared/_collection_entries_tab.html.erb
bulkrax-5.4.0 app/views/bulkrax/shared/_collection_entries_tab.html.erb
bulkrax-5.3.0 app/views/bulkrax/shared/_collection_entries_tab.html.erb
bulkrax-5.2.1 app/views/bulkrax/shared/_collection_entries_tab.html.erb
bulkrax-5.2.0 app/views/bulkrax/shared/_collection_entries_tab.html.erb