mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Update h1 on pill pages to work with new pill
Pill pages are: - /notifications - /template-usage - /monthly - /organisations/<organisation_id> - /templates Includes changes to: - the folder-path component - the page-header component ...all their h1s have the same id.
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
|
||||
{% macro page_header(
|
||||
h1,
|
||||
back_link=None
|
||||
back_link=None,
|
||||
size='large'
|
||||
) %}
|
||||
|
||||
{% if back_link %}
|
||||
{{ govukBackLink({ "href": back_link }) }}
|
||||
{% endif %}
|
||||
|
||||
<h1 class="heading-large" id="page-header">{{ h1 }}</h1>
|
||||
<h1 class="heading-{{ size }}" id="page-header">{{ h1 }}</h1>
|
||||
|
||||
{% endmacro %}
|
||||
|
||||
Reference in New Issue
Block a user