{% from "components/page-footer.html" import page_footer %} {% from "components/previous-next-navigation.html" import previous_next_navigation %} {% from "components/table.html" import list_table, field, text_field, link_field, right_aligned_field_heading, hidden_field_heading, row_heading, notification_status_field, notification_carrier_field, notification_carrier_message_field %}
{% if notifications %}
{% endif %} {% call(item, row_number) list_table( notifications, caption="Batched Jobs", caption_visible=False, border_visible=True, empty_message='No batched job messages found  (messages are kept for {} days)'.format(limit_days)|safe, field_headings=['Template Name','Date/Time', 'Download (CSV) Report'], field_headings_visible=False ) %} {% if item.job.original_file_name %} {% call row_heading() %} {{ item.job.original_file_name|replace('.csv', '') if item.job.id else '' }} {% endcall %} {% call row_heading() %} {{ item.status|format_notification_status_as_time( item.created_at|format_datetime_short, (item.updated_at or item.created_at)|format_datetime_short ) }} {% endcall %} {% call row_heading() %} {{ "Download" if item.job.original_file_name else '' }} - available for {{ limit_days }} days {% endcall %} {% endif %} {% endcall %} {% if notifications %}
{% endif %} {% if show_pagination %} {{ previous_next_navigation(prev_page, next_page) }} {% elif next_page %} {% endif %} {% if notifications %}
{% endif %} {% call(item, row_number) list_table( notifications, caption="Recent activity", caption_visible=False, empty_message='No messages found  (messages are kept for {} days)'.format(limit_days)|safe, field_headings=['Recipient', 'Status', 'Carrier', 'Carrier Response'], field_headings_visible=False ) %} {% call row_heading() %} {{ item.to.splitlines()|join(', ') if item.to else '' }}

{{ item.preview_of_content }}

{% endcall %} {{ notification_status_field(item) }} {{ notification_carrier_field(item) }} {{ notification_carrier_message_field(item)}} {% endcall %} {% if notifications %}
{% endif %} {% if show_pagination %} {{ previous_next_navigation(prev_page, next_page) }} {% elif next_page %} {% endif %}