diff --git a/app/main/views/broadcast.py b/app/main/views/broadcast.py index e0cd783c2..109b79175 100644 --- a/app/main/views/broadcast.py +++ b/app/main/views/broadcast.py @@ -48,7 +48,7 @@ def broadcast_dashboard_previous(service_id): 'views/broadcast/previous-broadcasts.html', broadcasts=BroadcastMessages(service_id).with_status('cancelled', 'completed'), empty_message='You do not have any previous alerts', - single_endpoint='.view_previous_broadcast', + view_broadcast_endpoint='.view_previous_broadcast', ) @@ -66,13 +66,13 @@ def get_broadcast_dashboard_partials(service_id): 'views/broadcast/partials/dashboard-table.html', broadcasts=broadcast_messages.with_status('pending-approval'), empty_message='You do not have any alerts waiting for approval', - single_endpoint='.view_current_broadcast', + view_broadcast_endpoint='.view_current_broadcast', ), live_broadcasts=render_template( 'views/broadcast/partials/dashboard-table.html', broadcasts=broadcast_messages.with_status('broadcasting'), empty_message='You do not have any live alerts at the moment', - single_endpoint='.view_current_broadcast', + view_broadcast_endpoint='.view_current_broadcast', ), ) diff --git a/app/templates/views/broadcast/partials/dashboard-table.html b/app/templates/views/broadcast/partials/dashboard-table.html index a323eec3d..702b0a98a 100644 --- a/app/templates/views/broadcast/partials/dashboard-table.html +++ b/app/templates/views/broadcast/partials/dashboard-table.html @@ -14,7 +14,7 @@ ) %} {% call row_heading() %}
- {{ item.template_name }} + {{ item.template_name }} {{ item.content }}