mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Content changes for notification pages
This commit adds content pages for the notifications pages, particularly the letter pages, which will make things clearer now that we will soon be allowing letters to be cancelled. The main changes are: * The confirmation banner for letters sent from a CSV file now states when printing will start. * We state the CSV file that notifications were sent from on the notifications page * The notification page for letters shows when printing starts (today, tomorrow, or that date that the letter was printed)
This commit is contained in:
@@ -14,7 +14,9 @@
|
||||
</h1>
|
||||
|
||||
{% if just_sent %}
|
||||
{{ banner('We’ve started printing your letters', type='default', with_tick=True) }}
|
||||
{{ banner('Your letter has been sent. Printing starts {} at 5.30pm.'.format(printing_day),
|
||||
type='default',
|
||||
with_tick=True) }}
|
||||
{% else %}
|
||||
{{ ajax_block(partials, updates_url, 'status', finished=finished) }}
|
||||
{% endif %}
|
||||
|
||||
@@ -19,14 +19,16 @@
|
||||
Provided as PDF, sent
|
||||
{% else %}
|
||||
{% if help %}
|
||||
{{ template.name }}
|
||||
‘{{ template.name }}’
|
||||
{% else %}
|
||||
<a href="{{ url_for('.view_template', service_id=current_service.id, template_id=template.id) }}">{{ template.name }}</a>
|
||||
<a href="{{ url_for('.view_template', service_id=current_service.id, template_id=template.id) }}">‘{{ template.name }}’</a>
|
||||
{% endif %}
|
||||
sent
|
||||
was sent
|
||||
{% endif %}
|
||||
{% if job and job.original_file_name != 'Report' %}
|
||||
from
|
||||
{% set destination =
|
||||
{'letter': 'an address', 'email': 'an email address', 'sms': 'a phone number'} %}
|
||||
to {{ destination[template.template_type] }} from
|
||||
<a href="{{ url_for('.view_job', service_id=current_service.id, job_id=job.id) }}">{{ job.original_file_name }}</a>
|
||||
{% elif created_by %}
|
||||
by {{ created_by.name }}
|
||||
@@ -45,6 +47,9 @@
|
||||
(letter has content outside the printable area)
|
||||
</p>
|
||||
{% else %}
|
||||
<p>
|
||||
{{ letter_print_day }}
|
||||
</p>
|
||||
<p>
|
||||
Postage: {{ postage }} class
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user