Replace ‘broadcast’ with ‘alert’ on dashboard

We’re moving away from ‘broadcast’ as a noun, so this commit updates the
dashboard to be in line with changes in other PRs.
This commit is contained in:
Chris Hill-Scott
2020-08-24 12:04:06 +01:00
parent 0dfbc1df67
commit 6131f6c6aa
3 changed files with 10 additions and 10 deletions

View File

@@ -53,17 +53,17 @@ def get_broadcast_dashboard_partials(service_id):
pending_approval_broadcasts=render_template(
'views/broadcast/partials/dashboard-table.html',
broadcasts=broadcast_messages.with_status('pending-approval'),
empty_message='You do not have any broadcasts waiting for approval',
empty_message='You do not have any alerts waiting for approval',
),
live_broadcasts=render_template(
'views/broadcast/partials/dashboard-table.html',
broadcasts=broadcast_messages.with_status('broadcasting'),
empty_message='You do not have any live broadcasts at the moment',
empty_message='You do not have any live alerts at the moment',
),
previous_broadcasts=render_template(
'views/broadcast/partials/dashboard-table.html',
broadcasts=broadcast_messages.with_status('cancelled', 'completed'),
empty_message='You do not have any previous broadcasts',
empty_message='You do not have any previous alerts',
),
)