mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 07:18:58 -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:
@@ -6,7 +6,7 @@
|
||||
link_current_item=False,
|
||||
root_element='h1'
|
||||
) %}
|
||||
<{{ root_element }} class="heading-medium folder-heading">
|
||||
<{{ root_element }} class="heading-medium folder-heading"{% if root_element == 'h1' %} id="page-header"{% endif %}>
|
||||
{% for folder in folders %}
|
||||
{% if loop.last and not link_current_item %}
|
||||
{% if folder.template_type or not folder.id %}
|
||||
|
||||
Reference in New Issue
Block a user