% provide :page_header do %>
Name | Status | Last Run | Next Run | Entries Enqueued | Entries Processed | Entries Failed | Entries Deleted Upstream | Total Collection Entries | Total Work Entries | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<%= link_to importer.name, importer_path(importer) %> | <%= importer.status %> | <%= importer.last_imported_at.strftime("%b %d, %Y") if importer.last_imported_at %> | <%= importer.next_import_at.strftime("%b %d, %Y") if importer.next_import_at %> | <%= importer.importer_runs.last&.enqueued_records %> | <%= (importer.importer_runs.last&.processed_collections || 0) + (importer.importer_runs.last&.processed_records || 0) %> | <%= (importer.importer_runs.last&.failed_collections || 0) + (importer.importer_runs.last&.failed_records || 0) %> | <%= importer.importer_runs.last&.deleted_records %> | <%= importer.importer_runs.last&.total_collection_entries %> | <%= importer.importer_runs.last&.total_work_entries %> | <%= link_to raw(''), importer_path(importer) %> | <%= link_to raw(''), edit_importer_path(importer) %> | <%= link_to raw(''), importer, method: :delete, data: { confirm: 'Are you sure?' } %> |
No importers have been created.
<% end %>