mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Update error messages for validation-failed precompiled letters
This commit is contained in:
@@ -12,6 +12,6 @@
|
||||
Provided as PDF on {{ created_at|format_datetime_short }}
|
||||
</p>
|
||||
<p class="notification-status-cancelled">
|
||||
Couldn’t read this file
|
||||
Validation failed – this isn’t a PDF file that Notify can read
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<p>
|
||||
{% if is_precompiled_letter %}
|
||||
Provided as PDF, sent
|
||||
Provided as PDF
|
||||
{% else %}
|
||||
{% if help %}
|
||||
‘{{ template.name }}’
|
||||
@@ -43,8 +43,7 @@
|
||||
</p>
|
||||
{% elif notification_status == 'validation-failed' %}
|
||||
<p class="notification-status-cancelled">
|
||||
Cancelled {{ updated_at|format_datetime_short }}
|
||||
(letter has content outside the printable area)
|
||||
Validation failed – content is outside the printable area
|
||||
</p>
|
||||
{% else %}
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user