mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-08 04:13:41 -05:00
GOV.UK Frontend gives `<main>` different padding on the top and bottom to us. This adds our spacing to `<main>` for pages without a side nav (except the product page which is special) and to the row containing the `<main>` and side nav sections on pages that have a side nav.
17 lines
627 B
HTML
17 lines
627 B
HTML
{% extends "admin_template.html" %}
|
|
|
|
{% set mainClasses = "govuk-!-padding-top-0 govuk-!-padding-bottom-12" %}
|
|
|
|
{% block beforeContent %}
|
|
{% if current_service and current_service.active and current_user.is_authenticated and current_user.belongs_to_service(current_service.id) %}
|
|
<div class="navigation-service">
|
|
<a href="{{ url_for('main.show_accounts_or_dashboard') }}" class="navigation-service-back-to">Back to {{ current_service.name }}</a>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% include 'flash_messages.html' %}
|
|
{% block maincolumn_content %}{% endblock %}
|
|
{% endblock %}
|