From 3bccf39c7781680703a7509330314e606b0598cd Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 11 May 2017 11:11:59 +0100 Subject: [PATCH] =?UTF-8?q?Make=20the=20=E2=80=98no=20recipient=20column?= =?UTF-8?q?=E2=80=99=20error=20more=20concise?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Word salad. --- app/templates/views/check.html | 2 +- tests/app/main/views/test_send.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/views/check.html b/app/templates/views/check.html index a9c3b3a2d..82dbdac45 100644 --- a/app/templates/views/check.html +++ b/app/templates/views/check.html @@ -57,7 +57,7 @@
{% call banner_wrapper(type='dangerous') %}

- Your file needs to have {{ recipients.recipient_column_headers | formatted_list( + Your file needs {{ recipients.recipient_column_headers | formatted_list( prefix='a column called', prefix_plural='columns called' ) }} diff --git a/tests/app/main/views/test_send.py b/tests/app/main/views/test_send.py index a4c063a1e..f1653264a 100644 --- a/tests/app/main/views/test_send.py +++ b/tests/app/main/views/test_send.py @@ -130,7 +130,7 @@ def test_upload_csvfile_with_errors_shows_check_page_with_errors( +447700900986 """, ( - 'Your file needs to have a column called ‘phone number’ ' + 'Your file needs a column called ‘phone number’ ' 'Your file has columns called ‘telephone’ and ‘name’. ' 'Skip to file contents' )