mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-03 18:08:24 -04:00
There’s no immediate feedback with letter jobs, unlike email or text messages jobs where you see the numbers starting to tick over straight away. We need to reassure the user that the thing they asked us to do (send letters) is underway. ‘Printing’ feels like the natural first state of the letter-making process. So this commit adds a banner to tell the user that printing is the thing that’s happening.
25 lines
776 B
HTML
25 lines
776 B
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/banner.html" import banner %}
|
||
{% from "components/ajax-block.html" import ajax_block %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
|
||
{% block service_page_title %}
|
||
{{ uploaded_file_name }}
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<h1 class="heading-large">
|
||
{{ uploaded_file_name }}
|
||
</h1>
|
||
|
||
{% if just_sent %}
|
||
{{ banner('We’ve started printing your letters', type='default', with_tick=True) }}
|
||
{% else %}
|
||
{{ ajax_block(partials, updates_url, 'status', finished=finished) }}
|
||
{% endif %}
|
||
{{ ajax_block(partials, updates_url, 'counts', finished=finished) }}
|
||
{{ ajax_block(partials, updates_url, 'notifications', finished=finished) }}
|
||
|
||
{% endblock %}
|