mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Only mandate mandatory address columns
If you miss ‘postcode’ from your file then you get told that you need ‘address_line_1’, ‘address_line_2’, ‘address_line_3’, etc. This is incorrect – the only required address columns are lines 1 and 2, plus the postcode. So this commit corrects the error message to be factually accurate. We had a user report this to Fajer as a bug.
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
{% elif not recipients.has_recipient_columns %}
|
||||
|
||||
<h1 class='banner-title' data-module="track-error" data-error-type="Missing recipient columns" data-error-label="{{ upload_id }}">
|
||||
Your file needs {{ recipients.recipient_column_headers | formatted_list(
|
||||
Your file needs {{ required_recipient_columns | formatted_list(
|
||||
prefix='a column called',
|
||||
prefix_plural='columns called'
|
||||
) }}
|
||||
|
||||
Reference in New Issue
Block a user