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:
Tom Byers
2020-09-04 09:02:36 +01:00
parent 48902a2bac
commit c6711a113c
7 changed files with 14 additions and 16 deletions
+2 -3
View File
@@ -4,6 +4,7 @@
{% from "components/textbox.html" import textbox %}
{% from "components/live-search.html" import live_search %}
{% from "components/form.html" import form_wrapper %}
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import page_footer %}
{% extends "withnav_template.html" %}
@@ -18,9 +19,7 @@
{% if (not current_service.all_templates) and (not current_service.all_template_folders) %}
<h1 class="heading-medium">
{{ page_title }}
</h1>
{{ page_header(page_title, size='medium') }}
<p class="govuk-body">
{% if current_user.has_permissions('manage_templates') %}