mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Merge pull request #3578 from alphagov/update-sent-status-label
Update sent status label
This commit is contained in:
@@ -435,7 +435,7 @@ def format_notification_status(status, template_type):
|
||||
'sending': 'Sending',
|
||||
'created': 'Sending',
|
||||
'pending': 'Sending',
|
||||
'sent': 'Sent internationally'
|
||||
'sent': 'Sent to an international number'
|
||||
},
|
||||
'letter': {
|
||||
'failed': '',
|
||||
@@ -479,7 +479,10 @@ def format_notification_status_as_field_status(status, notification_type):
|
||||
'virus-scan-failed': 'error',
|
||||
'returned-letter': None,
|
||||
'cancelled': 'error',
|
||||
}
|
||||
},
|
||||
'sms': {
|
||||
'sent': 'sent-international'
|
||||
},
|
||||
}.get(
|
||||
notification_type,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user