Merge pull request #700 from alphagov/tour-into-templates

Redirect to the templates page after the tour
This commit is contained in:
Chris Hill-Scott
2016-06-17 16:35:00 +01:00
committed by GitHub
2 changed files with 4 additions and 10 deletions
-4
View File
@@ -92,10 +92,6 @@ def view_job(service_id, job_id):
job.get('notifications_failed', 0)
) == 0),
uploaded_file_name=job['original_file_name'],
first_email_template=[
template for template in service_api_client.get_service_templates(service_id)['data']
if template['template_type'] == 'email'
][0] if request.args.get('help') else None,
template=Template(
template,
prefix=current_service['name']