diff --git a/app/templates/partials/jobs/count.html b/app/templates/partials/jobs/count.html index 2755f3259..78003a22e 100644 --- a/app/templates/partials/jobs/count.html +++ b/app/templates/partials/jobs/count.html @@ -1,5 +1,5 @@ {% from "components/pill.html" import pill %} -
- Sending will start at {{ job.scheduled_for|format_time }} -
++ Sending will start at {{ job.scheduled_for|format_time }} +
-{% else %} + {% else %} - {% if notifications %} -- Report is {{ "{:.0f}%".format(percentage_complete) }} complete… -
- {% elif notifications %} -- Download this report - - {{ time_left }} + {% if not help %} + {% if percentage_complete < 100 %} +
+ Report is {{ "{:.0f}%".format(percentage_complete) }} complete… +
+ {% elif notifications %} ++ Download this report + + {{ time_left }} +
+ {% endif %} + {% endif %} + + {% call(item, row_number) list_table( + notifications, + caption=uploaded_file_name, + caption_visible=False, + empty_message="No messages to show", + field_headings=[ + 'Recipient', + 'Time', + 'Status' + ], + field_headings_visible=False + ) %} + {% call row_heading() %} + {{ item.to }} + {% endcall %} + {{ date_field( + (item.updated_at or item.created_at)|format_datetime_short + ) }} + {% call field( + align='right', + status=item.status|format_notification_status_as_field_status + ) %} + {% if item.status|format_notification_status_as_url %} + + {% endif %} + {{ item.status|format_notification_status(item.template.template_type) }} + {% if item.status|format_notification_status_as_url %} + + {% endif %} + {% endcall %} + {% endcall %} + + {% if more_than_one_page %} ++ Only showing the first 50 rows
{% endif %} + + {% if notifications %} +- Only showing the first 50 rows -
- {% endif %} - - {% if notifications %} -Uploaded by {{ job.created_by.name }} on {{ job.created_at|format_datetime_short }}
diff --git a/app/templates/views/dashboard/_jobs.html b/app/templates/views/dashboard/_jobs.html index 3c70670e4..ea49cc3e7 100644 --- a/app/templates/views/dashboard/_jobs.html +++ b/app/templates/views/dashboard/_jobs.html @@ -1,7 +1,7 @@ {% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading %} {% from "components/big-number.html" import big_number -%} -