mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-14 23:44:56 -05:00
Don’t repeat names of columns in the error message
It makes the error message quite noisy. We’re going to move the table right underneath the error message, so you’ll be able to see the column names right there.
This commit is contained in:
@@ -81,13 +81,7 @@
|
||||
your template
|
||||
</h1>
|
||||
<p>
|
||||
Your file has {{ recipients.column_headers | formatted_list(
|
||||
prefix='one column, called ',
|
||||
prefix_plural='columns called '
|
||||
) }}.
|
||||
</p>
|
||||
<p>
|
||||
It doesn’t have {{ recipients.missing_column_headers | formatted_list(
|
||||
Your file doesn’t have {{ recipients.missing_column_headers | formatted_list(
|
||||
conjunction='or',
|
||||
prefix='a column called ',
|
||||
prefix_plural='columns called '
|
||||
|
||||
@@ -142,8 +142,7 @@ def test_upload_csvfile_with_errors_shows_check_page_with_errors(
|
||||
""",
|
||||
(
|
||||
'The columns in your file need to match the double brackets in your template '
|
||||
'Your file has one column, called ‘phone number’. '
|
||||
'It doesn’t have a column called ‘name’. '
|
||||
'Your file doesn’t have a column called ‘name’. '
|
||||
'Skip to file contents'
|
||||
)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user