diff --git a/app/views/bulk_upload_lettings_results/show.html.erb b/app/views/bulk_upload_lettings_results/show.html.erb index 15c486b91..fd49c8f3e 100644 --- a/app/views/bulk_upload_lettings_results/show.html.erb +++ b/app/views/bulk_upload_lettings_results/show.html.erb @@ -13,7 +13,14 @@ Here’s a list of everything that you need to fix your spreadsheet. You can download the <%= govuk_link_to "specification", Forms::BulkUploadLettings::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file. -

File: <%= @bulk_upload.filename %>

+

File name: <%= @bulk_upload.filename %>

+ + <% if current_user.support? %> +
+ <%= govuk_link_to "Download file", download_lettings_bulk_upload_path(@bulk_upload) %> +
+ <% end %> + diff --git a/app/views/bulk_upload_lettings_results/summary.html.erb b/app/views/bulk_upload_lettings_results/summary.html.erb index 8a59e8999..2e4fa91fc 100644 --- a/app/views/bulk_upload_lettings_results/summary.html.erb +++ b/app/views/bulk_upload_lettings_results/summary.html.erb @@ -5,13 +5,18 @@ Bulk upload for lettings (<%= @bulk_upload.year_combo %>)

Fix <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %> and upload file again

-

+

We could not create logs from your bulk upload because of the following errors. Download the <%= govuk_link_to "specification", Forms::BulkUploadLettings::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file.

-

- File: <%= @bulk_upload.filename %> -

+

File name: <%= @bulk_upload.filename %>

+ + <% if current_user.support? %> +
+ <%= govuk_link_to "Download file", download_lettings_bulk_upload_path(@bulk_upload) %> +
+ <% end %> + diff --git a/app/views/bulk_upload_sales_results/show.html.erb b/app/views/bulk_upload_sales_results/show.html.erb index 776fdfa2f..6d0863617 100644 --- a/app/views/bulk_upload_sales_results/show.html.erb +++ b/app/views/bulk_upload_sales_results/show.html.erb @@ -13,7 +13,14 @@ Here’s a list of everything that you need to fix your spreadsheet. You can download the <%= govuk_link_to "specification", Forms::BulkUploadSales::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file. -

File: <%= @bulk_upload.filename %>

+

File name: <%= @bulk_upload.filename %>

+ + <% if current_user.support? %> +
+ <%= govuk_link_to "Download file", download_sales_bulk_upload_path(@bulk_upload) %> +
+ <% end %> + diff --git a/app/views/bulk_upload_sales_results/summary.html.erb b/app/views/bulk_upload_sales_results/summary.html.erb index 0e423621d..171cbf77f 100644 --- a/app/views/bulk_upload_sales_results/summary.html.erb +++ b/app/views/bulk_upload_sales_results/summary.html.erb @@ -5,13 +5,18 @@ Bulk upload for sales (<%= @bulk_upload.year_combo %>)

Fix <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %> and upload file again

-

+

We could not create logs from your bulk upload because of the following errors. Download the <%= govuk_link_to "specification", Forms::BulkUploadSales::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file.

-

- File: <%= @bulk_upload.filename %> -

+

File name: <%= @bulk_upload.filename %>

+ + <% if current_user.support? %> +
+ <%= govuk_link_to "Download file", download_sales_bulk_upload_path(@bulk_upload) %> +
+ <% end %> +