Remove option to put service live if broadcast service

Whether a service is live or not will be controlled from the broadcast
service settings page once a service is given the broadcast permission
This commit is contained in:
David McDonald
2021-02-08 22:10:05 +00:00
parent 5a7132e9c9
commit 67d07e4135
2 changed files with 1 additions and 2 deletions

View File

@@ -316,6 +316,7 @@
caption_visible=False
) %}
{% if not current_service.has_permission('broadcast') %}
{% call row() %}
{{ text_field('Live')}}
{% if current_service.trial_mode and not current_service.organisation_id %}
@@ -327,7 +328,6 @@
{% endif %}
{% endcall %}
{% if not current_service.has_permission('broadcast') %}
{% call row() %}
{{ text_field('Count in list of live services')}}
{{ text_field('Yes' if current_service.count_as_live else 'No') }}

View File

@@ -183,7 +183,6 @@ def test_platform_admin_sees_only_relevant_settings_for_broadcast_service(
'Sign-in method Text message code Change sign-in method',
'Label Value Action',
'Live Off Change service status',
'Notes None Change the notes for the service',
'Email authentication Off Change your settings for Email authentication',
'Send cell broadcasts On Change your settings for Send cell broadcasts',