diff --git a/app/main/views/jobs.py b/app/main/views/jobs.py index 0b9f06106..17d9996ed 100644 --- a/app/main/views/jobs.py +++ b/app/main/views/jobs.py @@ -350,6 +350,11 @@ def get_job_partials(job): notifications = notification_api_client.get_notifications_for_service( job['service'], job['id'], status=filter_args['status'] ) + template = service_api_client.get_service_template( + service_id=current_service['id'], + template_id=job['template'], + version=job['template_version'] + )['data'] return { 'counts': render_template( 'partials/count.html', @@ -369,7 +374,9 @@ def get_job_partials(job): ), help=get_help_argument(), time_left=get_time_left(job['created_at']), - job=job + job=job, + template=template, + template_version=job['template_version'], ), 'status': render_template( 'partials/jobs/status.html', diff --git a/app/templates/partials/jobs/notifications.html b/app/templates/partials/jobs/notifications.html index a6f781e0d..c033e9427 100644 --- a/app/templates/partials/jobs/notifications.html +++ b/app/templates/partials/jobs/notifications.html @@ -5,7 +5,9 @@ {% if job.job_status == 'scheduled' %}
- Sending will start {{ job.scheduled_for|format_datetime_relative }} + Sending + {{ template.name }} + {{ job.scheduled_for|format_datetime_relative }}