Sha256: 344f2000cf9597cca56f3491e5adf3f92450c7be728690597502ee4cb0e7c35d
Contents?: true
Size: 1.75 KB
Versions: 2
Compression:
Stored size: 1.75 KB
Contents
<div role="tabpanel" class="tab-pane bulkrax-nav-tab-table-left-align" id="file-set-entries"> <table class='table table-striped'> <thead> <tr> <th>Identifier</th> <th>Entry ID</th> <th>Status</th> <th>Errors</th> <th>Status Set At</th> <th>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, bulkrax.importer_entry_path(item.id, e.id) %></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"), bulkrax.importer_entry_path(item.id, e.id) %></td> <% else %> <td></td> <% end %> <td><%= e.status_at %></td> <td><%= link_to raw('<span class="glyphicon glyphicon-info-sign"></span>'), bulkrax.importer_entry_path(item.id, e.id) %></td> </tr> <% end %> </tbody> </table> <%= page_entries_info(entries) %><br /> <%= paginate(entries, theme: 'blacklight', param_name: :file_set_entries_page, params: { anchor: 'file-set-entries' }) %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bulkrax-4.3.1 | app/views/bulkrax/shared/_file_set_entries_tab.html.erb |
bulkrax-4.3.0 | app/views/bulkrax/shared/_file_set_entries_tab.html.erb |