<%= if @success do %> Your CSV import has completed successfully. The Plausible dashboard for {@site_import.site.domain} now contains historical data from {date_format( @site_import.start_date )} to {date_format(@site_import.end_date)}.

View your dashboard. <% else %> Unfortunately, your CSV import for {@site_import.site.domain} did not complete successfully. Sorry about that!

Please ensure that your CSV files follow our format guidelines and try the import again. <% end %>