mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 01:58:25 -04:00
Add a more accurate missing notifications message
Notifications could be missing because: - none have been created yet - they’ve been deleted This commit adds separate error messages for each case, rather than a less helpful generic one.
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
notifications,
|
||||
caption=uploaded_file_name,
|
||||
caption_visible=False,
|
||||
empty_message="No messages to show",
|
||||
empty_message='These messages have been deleted because they were sent more than {} days ago'.format(service_data_retention_days) if job.job_status == 'finished' else 'No messages to show yet…',
|
||||
field_headings=[
|
||||
'Recipient',
|
||||
'Status'
|
||||
|
||||
Reference in New Issue
Block a user