Added a new error message when the letter is mising an address block.

Before deploying a change to template-preview to return a validation error for letters that are missing the address block, we need to add the new erorr message to admin.

Some content changes have been made to other messages.
The format of the message has changed.
This commit is contained in:
Rebecca Law
2020-01-10 14:42:56 +00:00
parent b3380ad7b5
commit 70276cb526
5 changed files with 64 additions and 18 deletions

View File

@@ -12,6 +12,6 @@
Provided as PDF on {{ created_at|format_datetime_short }}
</p>
<p class="notification-status-cancelled">
Validation failed Notify cannot read this PDF file
Validation failed Theres a problem with your letter. <br>Notify cannot read this PDF.
</p>
{% endblock %}

View File

@@ -44,7 +44,7 @@
</p>
{% elif notification_status == 'validation-failed' %}
<p class="notification-status-cancelled">
Validation failed. {{ message.detail | safe }}
Validation failed {{ message.title | safe }}. {{ message.detail | safe }}
</p>
{% elif notification_status == 'technical-failure' %}
<p class="notification-status-cancelled">