Sha256: 3e3f2a432686b61a6f30ed772540a111bbb0c88eccd34db9025ea553546534d7
Contents?: true
Size: 1.65 KB
Versions: 7
Compression:
Stored size: 1.65 KB
Contents
<div role="tabpanel" class="tab-pane active bulkrax-nav-tab-table-left-align" id="work-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, 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: :work_entries_page, params: { anchor: 'work-entries' }) %> </div>
Version data entries
7 entries across 7 versions & 1 rubygems