From <%= format_date(entry.site_import.start_date) %> to <%= format_date( entry.site_import.end_date - ) %> (created on <%= format_date( - entry.site_import.inserted_at || entry.site_import.start_date - ) %>) + ) %> + <%= if entry.live_status == SiteImport.completed() do %> + (imported + <% else %> + (started + <% end %> + on <%= format_date(entry.site_import.inserted_at) %>)
<.button @@ -160,9 +167,12 @@ defmodule PlausibleWeb.Live.ImportsExportsSettings do class="sm:ml-3 sm:w-auto w-full" data-confirm="Are you sure you want to delete this import?" > - + Delete Import + + Discard + Cancel Import