{% extends "withnav_template.html" %} {% from "components/banner.html" import banner_wrapper %} {% from "components/radios.html" import radio_select %} {% from "components/table.html" import list_table, field, text_field, index_field, hidden_field_heading %} {% from "components/file-upload.html" import file_upload %} {% from "components/components/back-link/macro.njk" import usaBackLink %} {% block service_page_title %} Error {% endblock %} {% block backLink %} {% if recipients|length == 1 and not recipients.allowed_to_send_to and not recipients.missing_column_headers %} {% else %} {{ usaBackLink({ "href": back_link }) }} {% endif %} {% endblock %} {% block maincolumn_content %}
Notify can process up to {{ "{:,}".format(recipients.max_rows) }} rows at once. Your file has {{ "{:,}".format(recipients|length) }} rows.
It needs at least one row of data, and {{ recipients.missing_column_headers | sort() | formatted_list( prefix='a column called', prefix_plural='columns called' ) }}.
{% else %}It needs at least one row of data.
{% endif %}Your file needs a column called ‘{{ first_recipient_column }}’.
Right now it has {{ recipients.column_headers | formatted_list( prefix='one column, called ', prefix_plural='columns called ' ) }}.
We found more than one column called {{ ( recipients.duplicate_recipient_column_headers ) | formatted_list( conjunction='or', prefix='', prefix_plural='' ) }}.
Delete or rename one of these columns and try again.
Your file is missing {{ recipients.missing_column_headers | formatted_list( conjunction='and', prefix='a column called ', prefix_plural='columns called ' ) }}.
Only showing the first {{ count_of_displayed_recipients }} rows
{% elif count_of_displayed_recipients < count_of_recipients %}{% if row_errors and not recipients.missing_column_headers %} Only showing the first {{ count_of_displayed_recipients }} rows with errors {% else %} Only showing the first {{ count_of_displayed_recipients }} rows {% endif %}
{% elif row_errors and not recipients.missing_column_headers %}Only showing rows with errors
{% endif %}