mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-29 04:09:07 -04:00
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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user