<%= if @success do %>
  Your CSV import has completed successfully. The Plausible dashboard for <%= @site_import.site.domain %> now contains historical imported data from <%= date_format(
    @site_import.start_date
  ) %> to <%= date_format(@site_import.end_date) %>
  <br /><br />
  <%= link("Click here", to: @link) %> to view your dashboard.
<% else %>
  Unfortunately, your CSV import for <%= @site_import.site.domain %> did not complete successfully. Sorry about that!
  <br /><br /> Please try to do the import once again.
  <%= if full_build?() do %>
    <br /> <br />
    Please reply to this email to let us know if you're still experiencing issues with the import.
  <% end %>
<% end %>
