Indicate template on scheduled jobs

We’ve removed the template on the jobs page, so you can no longer see
which template a job is about to be sent with.

This is removing information which might enable you to undo a costly
mistake.

I don’t think we need to bring back the whole template – giving its
name, and a link to it meets the need just as well.
This commit is contained in:
Chris Hill-Scott
2017-06-21 14:52:47 +01:00
parent ba93be5ea5
commit ff4a580ab4
4 changed files with 24 additions and 6 deletions

View File

@@ -182,7 +182,7 @@ def job_json(
if job_id is None:
job_id = str(generate_uuid())
if template_id is None:
template_id = str(generate_uuid())
template_id = "5d729fbd-239c-44ab-b498-75a985f3198f"
if created_at is None:
created_at = str(datetime.now(timezone.utc).strftime('%Y-%m-%dT%H:%M:%S.%f%z'))
data = {