Rename dashboard to ‘current alerts’

The dashboard for normal services is quite general, because it tells
you a bit about channels, templates and spend.

What is now the dashboard for broadcast services is much more specific,
therefore less like a dashboard. We can reflect this by giving it a more
specific name. This should reduce the amount of navigation surfing
people need to do in order to find the thing they’re looking for.
This commit is contained in:
Chris Hill-Scott
2020-10-13 11:42:32 +01:00
parent 698f98389c
commit 0cd08a94ff
6 changed files with 7 additions and 7 deletions

View File

@@ -143,8 +143,8 @@ def test_broadcast_pages_403_for_user_without_permission(
(2, 'Continue', partial(url_for, '.broadcast_tour', step_index=3)),
(3, 'Continue', partial(url_for, '.broadcast_tour', step_index=4)),
(4, 'Continue', partial(url_for, '.broadcast_tour', step_index=5)),
(5, 'Continue to dashboard', partial(url_for, '.service_dashboard')),
(6, 'Continue to dashboard', partial(url_for, '.service_dashboard')),
(5, 'Continue', partial(url_for, '.service_dashboard')),
(6, 'Continue', partial(url_for, '.service_dashboard')),
))
def test_broadcast_tour_pages_have_continue_link(
client_request,

View File

@@ -188,7 +188,7 @@ def test_navigation_for_services_with_broadcast_permission(
assert [
a['href'] for a in page.select('.navigation a')
] == [
'/services/{}/broadcast-dashboard'.format(SERVICE_ONE_ID),
'/services/{}/current-alerts'.format(SERVICE_ONE_ID),
'/services/{}/previous-alerts'.format(SERVICE_ONE_ID),
'/services/{}/templates'.format(SERVICE_ONE_ID),
'/services/{}/users'.format(SERVICE_ONE_ID),