From 2c268e225f5514f8f5e86024f550de6244722ea2 Mon Sep 17 00:00:00 2001 From: Jack <113976590+bibblobcode@users.noreply.github.com> Date: Thu, 25 May 2023 15:44:38 +0100 Subject: [PATCH] Add file in front of filename (#1662) * Add file in front of filename * Update more templates --- app/views/bulk_upload_lettings_results/show.html.erb | 2 +- app/views/bulk_upload_lettings_results/summary.html.erb | 2 +- app/views/bulk_upload_lettings_resume/fix_choice.html.erb | 2 +- .../confirm_soft_errors.html.erb | 2 +- app/views/bulk_upload_sales_results/show.html.erb | 2 +- app/views/bulk_upload_sales_results/summary.html.erb | 2 +- app/views/bulk_upload_sales_resume/fix_choice.html.erb | 2 +- .../confirm_soft_errors.html.erb | 2 +- app/views/logs/index.html.erb | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/bulk_upload_lettings_results/show.html.erb b/app/views/bulk_upload_lettings_results/show.html.erb index 63c7d3241..d42ad40f9 100644 --- a/app/views/bulk_upload_lettings_results/show.html.erb +++ b/app/views/bulk_upload_lettings_results/show.html.erb @@ -7,7 +7,7 @@ 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. -

<%= @bulk_upload.filename %>

+

File: <%= @bulk_upload.filename %>

diff --git a/app/views/bulk_upload_lettings_results/summary.html.erb b/app/views/bulk_upload_lettings_results/summary.html.erb index 6f70f9800..d6a1127af 100644 --- a/app/views/bulk_upload_lettings_results/summary.html.erb +++ b/app/views/bulk_upload_lettings_results/summary.html.erb @@ -8,7 +8,7 @@

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

diff --git a/app/views/bulk_upload_lettings_resume/fix_choice.html.erb b/app/views/bulk_upload_lettings_resume/fix_choice.html.erb index d887ec98e..05af0fd35 100644 --- a/app/views/bulk_upload_lettings_resume/fix_choice.html.erb +++ b/app/views/bulk_upload_lettings_resume/fix_choice.html.erb @@ -7,7 +7,7 @@

How would you like to fix <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %>?

- <%= @bulk_upload.filename %> + File: <%= @bulk_upload.filename %>
diff --git a/app/views/bulk_upload_lettings_soft_validations_check/confirm_soft_errors.html.erb b/app/views/bulk_upload_lettings_soft_validations_check/confirm_soft_errors.html.erb index fb5bde1c2..087557b3f 100644 --- a/app/views/bulk_upload_lettings_soft_validations_check/confirm_soft_errors.html.erb +++ b/app/views/bulk_upload_lettings_soft_validations_check/confirm_soft_errors.html.erb @@ -9,7 +9,7 @@

Some data from your bulk upload might not be right. Check your file for any errors in the fields below.

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

diff --git a/app/views/bulk_upload_sales_results/show.html.erb b/app/views/bulk_upload_sales_results/show.html.erb index 24f84ebf6..fd77a5d75 100644 --- a/app/views/bulk_upload_sales_results/show.html.erb +++ b/app/views/bulk_upload_sales_results/show.html.erb @@ -7,7 +7,7 @@ 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. -

<%= @bulk_upload.filename %>

+

File: <%= @bulk_upload.filename %>

diff --git a/app/views/bulk_upload_sales_results/summary.html.erb b/app/views/bulk_upload_sales_results/summary.html.erb index fc872cb31..8fd6c22ed 100644 --- a/app/views/bulk_upload_sales_results/summary.html.erb +++ b/app/views/bulk_upload_sales_results/summary.html.erb @@ -8,7 +8,7 @@

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

diff --git a/app/views/bulk_upload_sales_resume/fix_choice.html.erb b/app/views/bulk_upload_sales_resume/fix_choice.html.erb index ad4dce814..050eb4da2 100644 --- a/app/views/bulk_upload_sales_resume/fix_choice.html.erb +++ b/app/views/bulk_upload_sales_resume/fix_choice.html.erb @@ -7,7 +7,7 @@

How would you like to fix <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %>?

- <%= @bulk_upload.filename %> + File: <%= @bulk_upload.filename %>
diff --git a/app/views/bulk_upload_sales_soft_validations_check/confirm_soft_errors.html.erb b/app/views/bulk_upload_sales_soft_validations_check/confirm_soft_errors.html.erb index 9ed175afb..4a2765ab4 100644 --- a/app/views/bulk_upload_sales_soft_validations_check/confirm_soft_errors.html.erb +++ b/app/views/bulk_upload_sales_soft_validations_check/confirm_soft_errors.html.erb @@ -9,7 +9,7 @@

Some data from your bulk upload might not be right. Check your file for any errors in the fields below.

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

diff --git a/app/views/logs/index.html.erb b/app/views/logs/index.html.erb index 34b14fd1e..637d985fa 100644 --- a/app/views/logs/index.html.erb +++ b/app/views/logs/index.html.erb @@ -36,7 +36,7 @@

Bulk Upload details:
- <%= @bulk_upload.filename %>
+ File: <%= @bulk_upload.filename %>
Uploaded on <%= @bulk_upload.created_at.to_fs(:govuk_date_and_time) %>