{% 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/page-footer.html" import page_footer %} {% from "components/message-count-label.html" import message_count_label %} {% set file_contents_header_id = 'file-preview' %} {% macro skip_to_file_contents() %}
{% endmacro %} {% block service_page_title %} Error {% endblock %} {% block maincolumn_content %}Notify can process up to {{ "{:,}".format(recipients.max_rows) }} rows at once. Your file has {{ "{:,}".format(recipients|length) }} rows.
{% elif not count_of_recipients %}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 %} {% elif not recipients.has_recipient_columns %}Right now it has {{ recipients.column_headers | formatted_list( prefix='one column, called ', prefix_plural='columns called ' ) }}.
{% elif recipients.duplicate_recipient_column_headers %}Delete or rename one of these columns and try again.
{% elif recipients.missing_column_headers %}Your file is missing {{ recipients.missing_column_headers | formatted_list( conjunction='and', prefix='a column called ', prefix_plural='columns called ' ) }}.
{% elif sent_previously %} {% include "partials/check/sent-previously.html" %} {% elif not recipients.allowed_to_send_to %} {% with count_of_recipients=count_of_recipients, template_type_label=recipients.recipient_column_headers[0] %} {% include "partials/check/not-allowed-to-send-to.html" %} {% endwith %} {% elif trying_to_send_letters_in_trial_mode %}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 %}