mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-27 11:19:21 -04:00
Merge pull request #3735 from alphagov/show-allowed-broadcast-provider
show allowed broadcast provider
This commit is contained in:
@@ -46,7 +46,8 @@ class Service(JSONModel):
|
||||
'consent_to_research',
|
||||
'count_as_live',
|
||||
'go_live_user',
|
||||
'go_live_at'
|
||||
'go_live_at',
|
||||
'allowed_broadcast_provider',
|
||||
}
|
||||
|
||||
TEMPLATE_TYPES = (
|
||||
|
||||
@@ -19,10 +19,14 @@
|
||||
{{ current_service.name }}
|
||||
{% if current_service.has_permission('broadcast') %}
|
||||
{% if current_service.trial_mode %}
|
||||
<span class="navigation-service-type navigation-service-type--training">Training</span>
|
||||
<span class="navigation-service-type navigation-service-type--training">Training
|
||||
{% else %}
|
||||
<span class="navigation-service-type navigation-service-type--live">Live</span>
|
||||
<span class="navigation-service-type navigation-service-type--live">Live
|
||||
{% endif %}
|
||||
{% if current_service.allowed_broadcast_provider %}
|
||||
({{ current_service.allowed_broadcast_provider }})
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<a href="{{ url_for('main.choose_account') }}" class="govuk-link govuk-link--no-visited-state navigation-service-switch">Switch service</a>
|
||||
|
||||
Reference in New Issue
Block a user