From 2e5b724adb26710f043a9e8362283bf7011ba66b Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Fri, 27 Sep 2019 12:01:32 +0100 Subject: [PATCH] Update error messages --- app/templates/views/check/column-errors.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/templates/views/check/column-errors.html b/app/templates/views/check/column-errors.html index 02828f3a5..09159d2a0 100644 --- a/app/templates/views/check/column-errors.html +++ b/app/templates/views/check/column-errors.html @@ -56,10 +56,10 @@ {% elif not recipients.has_recipient_columns %}

- Your file is missing some columns + There’s a problem with your column names

- It needs {{ ( + Your file needs {{ ( recipients.missing_column_headers if template.template_type == 'letter' else required_recipient_columns ) | formatted_list( @@ -95,11 +95,8 @@ {% elif recipients.missing_column_headers %}

- Your file is missing some columns + Your column names do not match the double brackets in your template

-

- The column names need to match the double brackets in your template. -

Your file is missing {{ recipients.missing_column_headers | formatted_list( conjunction='and',