diff --git a/app/templates/views/broadcast/partials/dashboard-table.html b/app/templates/views/broadcast/partials/dashboard-table.html index 702b0a98a..8cd572313 100644 --- a/app/templates/views/broadcast/partials/dashboard-table.html +++ b/app/templates/views/broadcast/partials/dashboard-table.html @@ -28,7 +28,7 @@ {% call field(align='right') %} {% if item.status == 'pending-approval' %}

- Prepared by {{ item.created_by.name }} + Waiting for approval

{% elif item.status == 'broadcasting' %}

diff --git a/tests/app/main/views/test_broadcast.py b/tests/app/main/views/test_broadcast.py index 5f80683c5..3cc0ac221 100644 --- a/tests/app/main/views/test_broadcast.py +++ b/tests/app/main/views/test_broadcast.py @@ -306,7 +306,7 @@ def test_broadcast_dashboard( normalize_spaces(row.text) for row in page.select('table')[0].select('tbody tr') ] == [ 'Example template This is a test England Scotland Live since today at 2:20am', - 'Example template This is a test England Scotland Prepared by Test User', + 'Example template This is a test England Scotland Waiting for approval', ] @@ -329,7 +329,7 @@ def test_broadcast_dashboard_json( assert json_response.keys() == {'current_broadcasts'} - assert 'Prepared by Test User' in json_response['current_broadcasts'] + assert 'Waiting for approval' in json_response['current_broadcasts'] assert 'Live since today at 2:20am' in json_response['current_broadcasts']