mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-26 10:21:09 -04:00
Includes: - turning off :visited styles to match existing design - swapping heading classes used to make links bold for the GOVUK Frontend bold override class - adding visually hidden text to some links to make them work when isolated from their context We may need to revisit whether some links, such as those for documentation and features, may benefit from having some indication that their target has been visited.
47 lines
1.7 KiB
HTML
47 lines
1.7 KiB
HTML
{% extends "admin_template.html" %}
|
||
|
||
{% set mainClasses = "govuk-!-padding-top-0 govuk-!-padding-bottom-0" %}
|
||
|
||
{% block per_page_title %}
|
||
{% block service_page_title %}{% endblock %} – {{ current_service.name }}
|
||
{% endblock %}
|
||
|
||
{% block main %}
|
||
<div class="govuk-width-container">
|
||
<div class="navigation-service">
|
||
{% if current_service.organisation_id %}
|
||
{% if current_user.platform_admin or
|
||
(current_user.belongs_to_organisation(current_service.organisation_id) and current_service.live) %}
|
||
<a href="{{ url_for('.organisation_dashboard', org_id=current_service.organisation_id) }}" class="govuk-link govuk-link--no-visited-state navigation-organisation-link">{{ current_service.organisation.name }}</a>
|
||
{% endif %}
|
||
{% endif %}
|
||
<div class="navigation-service-name">
|
||
{{ current_service.name }}
|
||
</div>
|
||
<a href="{{ url_for('main.choose_account') }}" class="govuk-link govuk-link--no-visited-state navigation-service-switch">Switch service</a>
|
||
</div>
|
||
<div class="grid-row govuk-!-padding-bottom-12">
|
||
{% if help %}
|
||
<div class="column-one-third">
|
||
{% else %}
|
||
<div class="column-one-quarter">
|
||
{% endif %}
|
||
{% include "main_nav.html" %}
|
||
</div>
|
||
{% if help %}
|
||
<div class="column-two-thirds">
|
||
{% else %}
|
||
<div class="column-three-quarters">
|
||
{% endif %}
|
||
{% block beforeContent %}{% endblock %}
|
||
<main class="govuk-main-wrapper column-main {{ mainClasses }}" id="main-content" role="main">
|
||
{% block content %}
|
||
{% include 'flash_messages.html' %}
|
||
{% block maincolumn_content %}{% endblock %}
|
||
{% endblock %}
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{% endblock %}
|