mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 19:30:13 -04:00
Make the government channel visually distinct
It’s really serious, so this sets it apart from the other live channels.
This commit is contained in:
@@ -47,6 +47,12 @@
|
||||
box-shadow: 0 -3px 0 0 #F6D7D2;
|
||||
}
|
||||
|
||||
&--government {
|
||||
background: #942514;
|
||||
color: #F6D7D2;
|
||||
box-shadow: 0 -3px 0 0 #942514;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&-service-switch,
|
||||
|
||||
@@ -24,19 +24,20 @@
|
||||
</p>
|
||||
{% else %}
|
||||
<p class="govuk-body">
|
||||
<span class="navigation-service-type navigation-service-type--live govuk-!-margin-left-0">
|
||||
{% if form.account_type.broadcast_channel == 'severe' %}
|
||||
Live
|
||||
{% else %}
|
||||
{{ form.account_type.broadcast_channel|title }}
|
||||
{% endif %}
|
||||
{% if form.account_type.provider_restriction != 'all' %}
|
||||
({{ form.account_type.provider_restriction|format_mobile_network }})
|
||||
{% endif %}
|
||||
{% if form.account_type.broadcast_channel == 'test' and form.account_type.provider_restriction == 'all'%}
|
||||
(all networks)
|
||||
{% endif %}
|
||||
</span>
|
||||
{% if form.account_type.broadcast_channel == 'severe' %}
|
||||
<span class="navigation-service-type navigation-service-type--live govuk-!-margin-left-0">Live
|
||||
{% elif form.account_type.broadcast_channel == 'government' %}
|
||||
<span class="navigation-service-type navigation-service-type--government govuk-!-margin-left-0">Government
|
||||
{% else %}
|
||||
<span class="navigation-service-type navigation-service-type--live govuk-!-margin-left-0">{{ form.account_type.broadcast_channel|title }}
|
||||
{% endif %}
|
||||
{% if form.account_type.provider_restriction != 'all' %}
|
||||
({{ form.account_type.provider_restriction|format_mobile_network }})
|
||||
{% endif %}
|
||||
{% if form.account_type.broadcast_channel == 'test' and form.account_type.provider_restriction == 'all'%}
|
||||
(all networks)
|
||||
{% endif %}
|
||||
</span>
|
||||
</p>
|
||||
<p class="govuk-body">
|
||||
Members of the public
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
{% else %}
|
||||
({{ current_service.allowed_broadcast_provider }})
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<span class="navigation-service-type navigation-service-type--live">{{ current_service.broadcast_channel|title }}
|
||||
{% elif current_service.broadcast_channel == 'government' %}
|
||||
<span class="navigation-service-type navigation-service-type--government">Government
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
@@ -333,7 +333,7 @@ def test_broadcast_tour_page_4_shows_service_name(
|
||||
False,
|
||||
'government',
|
||||
'all',
|
||||
'.navigation-service-type.navigation-service-type--live',
|
||||
'.navigation-service-type.navigation-service-type--government',
|
||||
'service one Government Switch service',
|
||||
'Government',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user