{% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading, notification_status_field %} {% from "components/page-footer.html" import page_footer %} {% from "components/form.html" import form_wrapper %}
Sending {{ job.template.name }} {{ job.scheduled_for|format_datetime_relative }}
{% else %} {% if notifications %}Report is {{ "{:.0f}%".format(job.percentage_complete * 0.99) }} complete…
{% elif notifications %}Download this report (CSV) {{ time_left }}
{% endif %} {% call(item, row_number) list_table( notifications, caption=uploaded_file_name, caption_visible=False, empty_message='No messages to show yet…' if job.awaiting_processing_or_recently_processed else 'These messages have been deleted because they were sent more than {} days ago'.format(service_data_retention_days), field_headings=[ 'Recipient', 'Status' ], field_headings_visible=False ) %} {% call row_heading() %} {{ item.to }}{{ item.preview_of_content }}
{% endcall %} {{ notification_status_field(item) }} {% endcall %} {% if more_than_one_page %}Only showing the first 50 rows
{% endif %} {% if notifications %}