mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 08:16:51 -04:00
Merge pull request #3642 from alphagov/live-broadcast-tag
Show an indication that a broadcast service is live
This commit is contained in:
@@ -17,8 +17,12 @@
|
||||
{% endif %}
|
||||
<div class="navigation-service-name govuk-!-font-weight-bold">
|
||||
{{ current_service.name }}
|
||||
{% if current_service.has_permission('broadcast') and current_service.trial_mode %}
|
||||
<span class="navigation-service-type--training navigation-service-type--training--with-arrow">Training</span>
|
||||
{% if current_service.has_permission('broadcast') %}
|
||||
{% if current_service.trial_mode %}
|
||||
<span class="navigation-service-type navigation-service-type--training">Training</span>
|
||||
{% else %}
|
||||
<span class="navigation-service-type navigation-service-type--live">Live</span>
|
||||
{% endif %}
|
||||
{% 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