{% extends "withnav_template.html" %} {% from "components/banner.html" import banner_wrapper %} {% from "components/email-message.html" import email_message %} {% from "components/sms-message.html" import sms_message %} {% 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/list.html" import formatted_list %} {% from "components/message-count-label.html" import message_count_label %} {% block page_title %} {{ "Error" if errors else "Check and confirm" }} – GOV.UK Notify {% endblock %} {% block maincolumn_content %} {% if not recipients.has_recipient_column %}
Your file has {{ formatted_list( recipients.column_headers, prefix='one column, called', prefix_plural='columns called' ) }}.
{% endcall %}Your file has {{ formatted_list( recipients.column_headers, prefix='one column, called', prefix_plural='columns called' ) }}.
It doesn’t have {{ formatted_list( recipients.missing_column_headers, conjunction='or', prefix='a column called', prefix_plural='columns called' ) }}.
{% endcall %}You need to {{ row_errors[0] }}
{% else %}You need to:
In trial mode you can only send to yourself and members of your team
{% endcall %}You can only send {{ current_service.message_limit }} messages per day {%- if current_service.restricted %} in trial mode {%- endif -%} .
{% endif %}You can still send {{ current_service.message_limit - statistics.get('emails_requested', 0) - statistics.get('sms_requested', 0) }} messages today, but ‘{{ original_file_name }}’ contains {{ count_of_recipients }} {{ recipients.recipient_column_header }} {%- if count_of_recipients != 1 -%} {{ 'es' if 'email address' == recipients.recipient_column_header else 's' }} {%- endif %}
{% endcall %}{% 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 %} {% endblock %}