mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 08:44:23 -04:00
Merge branch 'master' into template_history_view
Conflicts: requirements.txt
This commit is contained in:
@@ -57,7 +57,7 @@ def view_jobs(service_id):
|
||||
@user_has_permissions('view_activity', admin_override=True)
|
||||
def view_job(service_id, job_id):
|
||||
job = job_api_client.get_job(service_id, job_id)['data']
|
||||
template = service_api_client.get_service_template(service_id, job['template'])['data']
|
||||
template = service_api_client.get_service_template(service_id, job['template'], job['template_version'])['data']
|
||||
notifications = notification_api_client.get_notifications_for_service(service_id, job_id)
|
||||
finished = job['status'] == 'finished'
|
||||
return render_template(
|
||||
|
||||
@@ -175,7 +175,7 @@ def send_test(service_id, template_id):
|
||||
get_example_csv_rows(template, use_example_as_example=False, submitted_fields=request.form)
|
||||
])
|
||||
filedata = {
|
||||
'file_name': 'Test run',
|
||||
'file_name': 'Test message',
|
||||
'data': output.getvalue()
|
||||
}
|
||||
upload_id = str(uuid.uuid4())
|
||||
|
||||
Reference in New Issue
Block a user