mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
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:
@@ -316,6 +316,7 @@
|
|||||||
caption_visible=False
|
caption_visible=False
|
||||||
) %}
|
) %}
|
||||||
|
|
||||||
|
{% if not current_service.has_permission('broadcast') %}
|
||||||
{% call row() %}
|
{% call row() %}
|
||||||
{{ text_field('Live')}}
|
{{ text_field('Live')}}
|
||||||
{% if current_service.trial_mode and not current_service.organisation_id %}
|
{% if current_service.trial_mode and not current_service.organisation_id %}
|
||||||
@@ -327,7 +328,6 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
|
|
||||||
{% if not current_service.has_permission('broadcast') %}
|
|
||||||
{% call row() %}
|
{% call row() %}
|
||||||
{{ text_field('Count in list of live services')}}
|
{{ text_field('Count in list of live services')}}
|
||||||
{{ text_field('Yes' if current_service.count_as_live else 'No') }}
|
{{ text_field('Yes' if current_service.count_as_live else 'No') }}
|
||||||
|
|||||||
@@ -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',
|
'Sign-in method Text message code Change sign-in method',
|
||||||
|
|
||||||
'Label Value Action',
|
'Label Value Action',
|
||||||
'Live Off Change service status',
|
|
||||||
'Notes None Change the notes for the service',
|
'Notes None Change the notes for the service',
|
||||||
'Email authentication Off Change your settings for Email authentication',
|
'Email authentication Off Change your settings for Email authentication',
|
||||||
'Send cell broadcasts On Change your settings for Send cell broadcasts',
|
'Send cell broadcasts On Change your settings for Send cell broadcasts',
|
||||||
|
|||||||
Reference in New Issue
Block a user