Remove some of the option we have for broadcast services.

This is the first step in making the UI easier for setting the
options for a broadcast service. Here we remove the options for
"Training mode" test channels. When we create a broadcast message for a trail mode service it is marked as stubbed and does not create a broadcast event that is sent to a provider.

The label for the form and setting page have been updated to reflect the
change.
This commit is contained in:
Rebecca Law
2021-05-04 15:58:57 +01:00
parent bfc55b45ca
commit 5495de0b3b
3 changed files with 32 additions and 55 deletions

View File

@@ -2342,17 +2342,13 @@ class ServiceBroadcastAccountTypeForm(StripWhitespaceForm):
'Change cell broadcast service type',
thing='which type of account this cell broadcast service is',
choices=[
("training-test-ee", "Training mode - EE network - Test channel only"),
("training-test-o2", "Training mode - O2 network - Test channel only"),
("training-test-three", "Training mode - Three network - Test channel only"),
("training-test-vodafone", "Training mode - Vodafone network - Test channel only"),
("training-severe", "Training mode - All networks - Public channel"),
("live-test-ee", "Live - EE network - Test channel only"),
("live-test-o2", "Live - O2 network - Test channel only"),
("live-test-three", "Live - Three network - Test channel only"),
("live-test-vodafone", "Live - Vodafone network - Test channel only"),
("live-test", "Live - All networks - Test channel only"),
("live-severe", "Live - All networks - Public channel"),
("training-test", "Training mode"),
("live-test-ee", "Test channel (EE)"),
("live-test-o2", "Test channel (O2)"),
("live-test-three", "Test channel (Three)"),
("live-test-vodafone", "Test channel (Vodafone)"),
("live-test", "Test channel (all networks)"),
("live-severe", "Live (all networks)"),
],
validators=[DataRequired()]
)