diff --git a/app/main/views/send.py b/app/main/views/send.py index a0ef0b905..eaf494218 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -948,7 +948,9 @@ def send_notification(service_id, template_id): vals = ",".join(values) data = f"{data}\r\n{vals}" - filename = f"one-off-{current_user.name}-{uuid.uuid4()}.csv" + filename = ( + f"one-off-{uuid.uuid4()}.csv" # {current_user.name} removed from filename + ) my_data = {"filename": filename, "template_id": template_id, "data": data} upload_id = s3upload(service_id, my_data) form = CsvUploadForm() diff --git a/app/templates/views/dashboard/dashboard.html b/app/templates/views/dashboard/dashboard.html index 0a558ad8f..d46d94b95 100644 --- a/app/templates/views/dashboard/dashboard.html +++ b/app/templates/views/dashboard/dashboard.html @@ -59,7 +59,7 @@ {% set notification = job.notifications[0] %} - {{ notification.job.original_file_name if notification.job.original_file_name else 'Manually entered number'}} + {{ notification.job.original_file_name[:12] if notification.job.original_file_name else 'Manually entered number'}}
View Batch