mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
test time fixes and bonus letter removal
This commit is contained in:
@@ -46,46 +46,6 @@
|
||||
{{ created_at|format_datetime_human }}
|
||||
</p>
|
||||
|
||||
{% if template.template_type == 'letter' %}
|
||||
{% if notification_status == 'cancelled' %}
|
||||
<p class="notification-status-cancelled">
|
||||
Cancelled {{ updated_at|format_datetime_short }}
|
||||
</p>
|
||||
{% elif notification_status == 'validation-failed' %}
|
||||
<p class="notification-status-cancelled">
|
||||
{{ message.summary | safe }}
|
||||
</p>
|
||||
{% elif notification_status == 'permanent-failure' %}
|
||||
<p class="notification-status-cancelled">
|
||||
Permanent failure – The provider cannot print the letter. Your letter will not be dispatched.
|
||||
</p>
|
||||
{% elif notification_status == 'technical-failure' %}
|
||||
<p class="notification-status-cancelled">
|
||||
Technical failure – Notify will resend once the team have
|
||||
fixed the problem
|
||||
</p>
|
||||
{% else %}
|
||||
{% if sent_with_test_key %}
|
||||
{% if is_precompiled_letter %}
|
||||
<p class="govuk-body">
|
||||
This letter passed our checks, but we will not print it because you used a test key.
|
||||
</p>
|
||||
{% else %}
|
||||
<p class="govuk-body">
|
||||
We will not print this letter because you used a test key.
|
||||
</p>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<p class="govuk-body">
|
||||
{{ letter_print_day }}
|
||||
</p>
|
||||
<p class="govuk-body">
|
||||
Estimated delivery date: {{ estimated_letter_delivery_date|format_day_of_week }} {{ estimated_letter_delivery_date|format_date_short }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<div class="{{ 'letter-sent' if template.template_type == 'letter' else '' }}">
|
||||
{{ template|string }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user