mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Show jobs on contact list
It’s a bit unintuitive that starting a job from a contact list makes a copy of the file, which has no relationship to the list it was copied from. This is more of an implementation detail, rather than something that comes from people’s mental models of what is going on. Or at least that’s what I hypothesise. I think it’s clearer to show jobs that come from contact lists within the lists that they were created from. By naming the jobs by template this gives a clearer view of what messages have been sent to the group over time.
This commit is contained in:
@@ -361,6 +361,7 @@ def job_json(
|
||||
template_id=None,
|
||||
template_version=1,
|
||||
template_type='sms',
|
||||
template_name='Example template',
|
||||
created_at=None,
|
||||
bucket_name='',
|
||||
original_file_name="thisisatest.csv",
|
||||
@@ -381,6 +382,7 @@ def job_json(
|
||||
'id': job_id,
|
||||
'service': service_id,
|
||||
'template': template_id,
|
||||
'template_name': template_name,
|
||||
'template_version': template_version,
|
||||
'template_type': template_type,
|
||||
'original_file_name': original_file_name,
|
||||
|
||||
Reference in New Issue
Block a user