mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
Fixed merge conflicts with master.
Code quality fixes.
This commit is contained in:
@@ -16,7 +16,6 @@ from utils.template import Template
|
||||
|
||||
from app import (job_api_client, notification_api_client, service_api_client)
|
||||
from app.main import main
|
||||
from app.main.dao import templates_dao
|
||||
from app.utils import (
|
||||
get_page_from_request,
|
||||
generate_previous_next_dict,
|
||||
@@ -41,7 +40,7 @@ def view_jobs(service_id):
|
||||
def view_job(service_id, job_id):
|
||||
service = service_api_client.get_service(service_id)['data']
|
||||
job = job_api_client.get_job(service_id, job_id)['data']
|
||||
template = templates_dao.get_service_template_or_404(service_id, job['template'])['data']
|
||||
template = service_api_client.get_service_template(service_id, job['template'])['data']
|
||||
notifications = notification_api_client.get_notifications_for_service(service_id, job_id)
|
||||
finished = job['status'] == 'finished'
|
||||
return render_template(
|
||||
|
||||
Reference in New Issue
Block a user