mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-10 13:23:40 -05:00
18 lines
915 B
HTML
18 lines
915 B
HTML
<nav id="nav-service-nav" aria-label="Service navigation">
|
|
<div class="navigation-service margin-top-5 display-flex flex-align-end flex-justify border-bottom padding-bottom-1">
|
|
{% if current_service.organization_id %}
|
|
{% if current_user.platform_admin or
|
|
(current_user.belongs_to_organization(current_service.organization_id) and current_service.live) %}
|
|
<a href="{{ url_for('.organization_dashboard', org_id=current_service.organization_id) }}" class="usa-link navigation-organization-link">{{ current_service.organization_name }}</a>
|
|
{% endif %}
|
|
{% endif %}
|
|
<div class="font-body-2xl text-bold">
|
|
{{ current_service.name }}
|
|
{% if not current_service.active %}
|
|
<span class="navigation-service-name navigation-service-type--suspended">Suspended</span>
|
|
{% endif %}
|
|
</div>
|
|
<a href="{{ url_for('main.choose_account') }}" class="usa-link">Switch service</a>
|
|
</div>
|
|
</nav>
|