mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
Move back link above main content for straightforward cases
This moves the back link to be above the `<main>` tag by making use of the new `backLink` block. This doesn't change the pages which are using a back link as part of the `page_header` macro yet.
This commit is contained in:
@@ -7,12 +7,14 @@
|
||||
Received text message
|
||||
{% endblock %}
|
||||
|
||||
{% block backLink %}
|
||||
{{ govukBackLink({ "href": url_for("main.inbox", service_id=current_service.id) }) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<div class="dashboard">
|
||||
|
||||
{{ govukBackLink({ "href": url_for("main.inbox", service_id=current_service.id) }) }}
|
||||
|
||||
<div class="bottom-gutter js-stick-at-top-when-scrolling">
|
||||
<h1 class="heading-large govuk-!-margin-top-0">
|
||||
{{ user_number }}
|
||||
|
||||
Reference in New Issue
Block a user