diff --git a/app/templates/views/broadcast/dashboard.html b/app/templates/views/broadcast/dashboard.html index f27680b48..a7b31722e 100644 --- a/app/templates/views/broadcast/dashboard.html +++ b/app/templates/views/broadcast/dashboard.html @@ -25,9 +25,8 @@ {% endcall %} {% call field(align='right') %} {% if item.status == 'broadcasting' %} -
+
Live until {{ item.finishes_at|format_datetime_relative }} - Stop broadcasting
{% elif item.status == 'cancelled' %}diff --git a/tests/app/main/views/test_broadcast.py b/tests/app/main/views/test_broadcast.py index c2d58d0d6..4fb75a2a7 100644 --- a/tests/app/main/views/test_broadcast.py +++ b/tests/app/main/views/test_broadcast.py @@ -78,7 +78,7 @@ def test_broadcast_dashboard( assert [ normalize_spaces(row.text) for row in page.select('table')[0].select('tbody tr') ] == [ - 'Example template To England and Scotland Live until tomorrow at 2:20am Stop broadcasting', + 'Example template To England and Scotland Live until tomorrow at 2:20am', ] assert [ normalize_spaces(row.text) for row in page.select('table')[1].select('tbody tr')