Don’t show status for individual letters

The status won’t ever change from sending for letters. For now at least.
And even when we do come up with more useful statuses I’m not convinced
it’s useful to expose them to our admin users.

A more useful piece of information to show is when we think the letter
will be delivered.
This commit is contained in:
Chris Hill-Scott
2017-07-13 13:05:41 +01:00
parent b003162932
commit 63e9ef44e7
5 changed files with 45 additions and 6 deletions

View File

@@ -1679,6 +1679,7 @@ def mock_get_notification(
fake_uuid,
notification_status='delivered',
redact_personalisation=False,
template_type=None,
):
def _get_notification(
service_id,
@@ -1687,7 +1688,8 @@ def mock_get_notification(
noti = notification_json(
service_id,
rows=1,
status=notification_status
status=notification_status,
template_type=template_type,
)['notifications'][0]
noti['id'] = notification_id
@@ -1702,6 +1704,7 @@ def mock_get_notification(
'5407f4db-51c7-4150-8758-35412d42186a',
content='hello ((name))',
redact_personalisation=redact_personalisation,
type_=template_type,
)
return noti