Merge pull request #3344 from alphagov/uploads-navigation

Fix navigation around uploads and jobs
This commit is contained in:
Chris Hill-Scott
2020-03-04 12:14:08 +00:00
committed by GitHub
4 changed files with 15 additions and 10 deletions

View File

@@ -90,10 +90,7 @@ def view_job(service_id, job_id):
status=request.args.get('status', ''),
),
partials=get_job_partials(job),
just_sent=bool(
request.args.get('just_sent') == 'yes'
and job.template_type == 'letter'
),
just_sent=request.args.get('just_sent') == 'yes',
just_sent_message=just_sent_message,
)