From bc2d8866a6eb69cc4b9f7854858cc45db526881b Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Wed, 17 Jan 2024 14:05:15 +0000 Subject: [PATCH] feat: copy change to reflect that the count in the header is not necessarily as large as the errors shown (it excludes duplicate errors on fields, and not_answered errors) --- app/views/bulk_upload_lettings_results/deletion_report.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/bulk_upload_lettings_results/deletion_report.html.erb b/app/views/bulk_upload_lettings_results/deletion_report.html.erb index de37c2dee..348248bde 100644 --- a/app/views/bulk_upload_lettings_results/deletion_report.html.erb +++ b/app/views/bulk_upload_lettings_results/deletion_report.html.erb @@ -5,7 +5,7 @@
Bulk upload for lettings (<%= @bulk_upload.year_combo %>) -

<%= unique_answers_to_be_cleared(@bulk_upload).count == 1 ? "This" : "These" %> <%= pluralize(unique_answers_to_be_cleared(@bulk_upload).count, "answer") %> will be deleted if you upload the <%= "log".pluralize(@bulk_upload.logs.count) %>

+

<%= pluralize(unique_answers_to_be_cleared(@bulk_upload).count, "answer") %> will be deleted if you upload the <%= "log".pluralize(@bulk_upload.logs.count) %>

The following cells contain data this is incorrect.

If you upload the logs, these answers will be deleted. You will have to re-enter the data on the site and resolve these errors.