Make a separate page for previous alerts

Previous alerts are much less important than ones that are live or
waiting for approval.

Therefore we can make the dashboard more focused by moving previous
alerts to their own page.
This commit is contained in:
Chris Hill-Scott
2020-10-13 11:40:20 +01:00
parent 65b2dbc031
commit f0220fa9fb
6 changed files with 63 additions and 0 deletions

View File

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