mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 10:03:21 -04:00
Update error messages
This commit is contained in:
@@ -56,10 +56,10 @@
|
|||||||
{% elif not recipients.has_recipient_columns %}
|
{% 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 }}">
|
<h1 class='banner-title' data-module="track-error" data-error-type="Missing recipient columns" data-error-label="{{ upload_id }}">
|
||||||
Your file is missing some columns
|
There’s a problem with your column names
|
||||||
</h1>
|
</h1>
|
||||||
<p>
|
<p>
|
||||||
It needs {{ (
|
Your file needs {{ (
|
||||||
recipients.missing_column_headers
|
recipients.missing_column_headers
|
||||||
if template.template_type == 'letter' else required_recipient_columns
|
if template.template_type == 'letter' else required_recipient_columns
|
||||||
) | formatted_list(
|
) | formatted_list(
|
||||||
@@ -95,11 +95,8 @@
|
|||||||
{% elif recipients.missing_column_headers %}
|
{% elif recipients.missing_column_headers %}
|
||||||
|
|
||||||
<h1 class='banner-title' data-module="track-error" data-error-type="Missing placeholder columns" data-error-label="{{ upload_id }}">
|
<h1 class='banner-title' data-module="track-error" data-error-type="Missing placeholder columns" data-error-label="{{ upload_id }}">
|
||||||
Your file is missing some columns
|
Your column names do not match the double brackets in your template
|
||||||
</h1>
|
</h1>
|
||||||
<p>
|
|
||||||
The column names need to match the double brackets in your template.
|
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
Your file is missing {{ recipients.missing_column_headers | formatted_list(
|
Your file is missing {{ recipients.missing_column_headers | formatted_list(
|
||||||
conjunction='and',
|
conjunction='and',
|
||||||
|
|||||||
Reference in New Issue
Block a user