mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 21:58:25 -04:00
23 lines
569 B
HTML
23 lines
569 B
HTML
|
|
{% from "components/table.html" import list_table, field, right_aligned_field_heading %}
|
||
|
|
|
||
|
|
{% call(item) list_table(
|
||
|
|
notifications,
|
||
|
|
caption=uploaded_file_name,
|
||
|
|
caption_visible=False,
|
||
|
|
empty_message="No messages to show yet",
|
||
|
|
field_headings=[
|
||
|
|
'Recipient',
|
||
|
|
right_aligned_field_heading('Status')
|
||
|
|
]
|
||
|
|
) %}
|
||
|
|
{% call field() %}
|
||
|
|
{{ item.to }}
|
||
|
|
{% endcall %}
|
||
|
|
{% call field(
|
||
|
|
align='right',
|
||
|
|
status='error' if item.status == 'Failed' else 'default'
|
||
|
|
) %}
|
||
|
|
{{ item.status|title }} at {{ item.sent_at|format_time }}
|
||
|
|
{% endcall %}
|
||
|
|
{% endcall %}
|