mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 03:13:42 -05:00
This will be used to put the back link in, since it it is before the `<main>` tag. We could have used the `beforeContent` block directly, but that sometimes already has content in - this means it's not clear when you also need to use `super()` inside the block and when you don't.
38 lines
1.2 KiB
HTML
38 lines
1.2 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">
|
||
{% include "service_navigation.html" %}
|
||
<div class="govuk-grid-row govuk-!-padding-bottom-12">
|
||
{% if help %}
|
||
<div class="govuk-grid-column-one-third">
|
||
{% else %}
|
||
<div class="govuk-grid-column-one-quarter">
|
||
{% endif %}
|
||
{% include "main_nav.html" %}
|
||
</div>
|
||
{% if help %}
|
||
<div class="govuk-grid-column-two-thirds">
|
||
{% else %}
|
||
<div class="govuk-grid-column-three-quarters">
|
||
{% endif %}
|
||
{% block beforeContent %}
|
||
{% block backLink %}{% endblock %}
|
||
{% 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 %}
|