mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-17 04:59:37 -04:00
Add live/trial flag on platform-admin page
Show 'Live' or 'Trial' under each service to easily identify services
This commit is contained in:
@@ -42,7 +42,8 @@ def format_stats_by_service(all_stats, services):
|
||||
(stats['emails_requested'] - stats['emails_delivered'] - stats['emails_failed'])
|
||||
),
|
||||
'delivered': stats['sms_delivered'] + stats['emails_delivered'],
|
||||
'failed': stats['sms_failed'] + stats['emails_failed']
|
||||
'failed': stats['sms_failed'] + stats['emails_failed'],
|
||||
'restricted': services[stats['service']]['restricted']
|
||||
}
|
||||
for stats in all_stats
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user