diff --git a/app/models/job.py b/app/models/job.py index 46498993f..384edfd4d 100644 --- a/app/models/job.py +++ b/app/models/job.py @@ -24,7 +24,6 @@ class Job(JSONModel): 'original_file_name', 'created_at', 'notification_count', - 'job_status', 'created_by', } diff --git a/app/templates/partials/jobs/notifications.html b/app/templates/partials/jobs/notifications.html index 16b6c449a..fa7ea707b 100644 --- a/app/templates/partials/jobs/notifications.html +++ b/app/templates/partials/jobs/notifications.html @@ -47,7 +47,7 @@ notifications, caption=uploaded_file_name, caption_visible=False, - empty_message='These messages have been deleted because they were sent more than {} days ago'.format(service_data_retention_days) if job.job_status == 'finished' else 'No messages to show yet…', + empty_message='These messages have been deleted because they were sent more than {} days ago'.format(service_data_retention_days) if job.status == 'finished' else 'No messages to show yet…', field_headings=[ 'Recipient', 'Status'