mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
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:
@@ -434,7 +434,9 @@
|
||||
{% if not current_service.broadcast_channel %}
|
||||
Off
|
||||
{% else %}
|
||||
{% if current_service.live %}Live{% else %}Training mode{% endif %} - {% if current_service.allowed_broadcast_provider %}{{ current_service.allowed_broadcast_provider|format_mobile_network }} network{% else %}All networks{% endif %} - {% if current_service.broadcast_channel == "test" %}Test channel only{% else %}Public channel{% endif %}
|
||||
{% if current_service.live and current_service.broadcast_channel == "severe" %}Live - Public channel{% endif %}
|
||||
{% if current_service.live and current_service.broadcast_channel == "test" %}Test channel {% if current_service.allowed_broadcast_provider %}({{ current_service.allowed_broadcast_provider|format_mobile_network }} network){% else %} (All networks){% endif %}{%endif%}
|
||||
{% if not current_service.live%}Training mode {% endif%}
|
||||
{% endif %}
|
||||
{% endcall %}
|
||||
{{ edit_field(
|
||||
|
||||
Reference in New Issue
Block a user