diff --git a/app/templates/partials/jobs/status.html b/app/templates/partials/jobs/status.html index fc94d174a..552d60334 100644 --- a/app/templates/partials/jobs/status.html +++ b/app/templates/partials/jobs/status.html @@ -1,3 +1,5 @@ +{% from "components/ajax-block.html" import ajax_block %} + {% set display_message_status %} {% if job.template.content %}

Message

@@ -18,14 +20,18 @@

{{ job.original_file_name }}

{% endif %}

Delivery Status

{% endset %} - +{{ ajax_block( + partials, + url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status), + 'job' +) }}

{% if not job.finished_processing or arrived_from_preview_page_url %} {% if job.scheduled_for %}

-

Your text has been scheduled

+

Your message has been scheduled

{{ job.template_name }} - {{ current_service.name }} was scheduled on {{ job.scheduled_for|format_datetime_normal }} by {{ job.created_by.name }}

@@ -38,9 +44,9 @@

Your text has been scheduled

{% if job.finished_processing %} - Your text has been sent + Your message has been sent {% else %} - Your text is sending + Your message is sending {% endif %}

@@ -57,7 +63,7 @@

- Your text is pending + Your message is pending

{{ job.template_name }} - {{ current_service.name }}