mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Remove usnused things from the template call
This commit is contained in:
@@ -45,9 +45,7 @@ def view_job(service_id, job_id):
|
|||||||
notifications=notifications['notifications'],
|
notifications=notifications['notifications'],
|
||||||
counts={
|
counts={
|
||||||
'queued': 0 if finished else job['notification_count'],
|
'queued': 0 if finished else job['notification_count'],
|
||||||
'sent': job['notification_count'] if finished else 0,
|
'sent': job['notification_count'] if finished else 0
|
||||||
'failed': 0,
|
|
||||||
'cost': u'£0.00'
|
|
||||||
},
|
},
|
||||||
uploaded_at=job['created_at'],
|
uploaded_at=job['created_at'],
|
||||||
finished_at=job['updated_at'] if finished else None,
|
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',
|
'partials/jobs/count.html',
|
||||||
counts={
|
counts={
|
||||||
'queued': 0 if finished else job['notification_count'],
|
'queued': 0 if finished else job['notification_count'],
|
||||||
'sent': job['notification_count'] if finished else 0,
|
'sent': job['notification_count'] if finished else 0
|
||||||
'failed': 0,
|
|
||||||
'cost': u'£0.00'
|
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
'notifications': render_template(
|
'notifications': render_template(
|
||||||
|
|||||||
Reference in New Issue
Block a user