From 07bb074bd3231adf6f619c9cefa60789ec13cc82 Mon Sep 17 00:00:00 2001 From: Martyn Inglis Date: Mon, 21 Mar 2016 13:31:53 +0000 Subject: [PATCH] Remove usnused things from the template call --- app/main/views/jobs.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/main/views/jobs.py b/app/main/views/jobs.py index 48ef1875c..17e75f706 100644 --- a/app/main/views/jobs.py +++ b/app/main/views/jobs.py @@ -45,9 +45,7 @@ def view_job(service_id, job_id): notifications=notifications['notifications'], counts={ 'queued': 0 if finished else job['notification_count'], - 'sent': job['notification_count'] if finished else 0, - 'failed': 0, - 'cost': u'£0.00' + 'sent': job['notification_count'] if finished else 0 }, uploaded_at=job['created_at'], finished_at=job['updated_at'] if finished else None, @@ -74,9 +72,7 @@ def view_job_updates(service_id, job_id): 'partials/jobs/count.html', counts={ 'queued': 0 if finished else job['notification_count'], - 'sent': job['notification_count'] if finished else 0, - 'failed': 0, - 'cost': u'£0.00' + 'sent': job['notification_count'] if finished else 0 } ), 'notifications': render_template(