Imports

<%= link_to "New import", new_import_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
<% if @imports.empty? %>

Hello there!

Here you'll find your imports, But now there are none. Let's <%= link_to 'create one', new_import_path, class: 'link' %>!

<% else %>
<% @imports.each do |import| %> <% end %>
Name Processed Doubles Created at
<%= link_to import.name, import, class: 'underline hover:no-underline' %> (<%= import.source %>) <%= "✅" if import.processed == import.raw_points %> <%= "#{import.processed}/#{import.raw_points}" %> <%= import.doubles %> <%= import.created_at.strftime("%d.%m.%Y, %H:%M") %>
<% end %>