mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Add styles and Jinja for component
Most of these are cut-and-paste'd from the GOVUK metadata component: https://components.publishing.service.gov.uk/component-guide/metadata ...but stripped back to only include what we need and a optional suffix paragraph added. Links to styles and ERB template https://github.com/alphagov/govuk_publishing_components/blob/master/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss https://github.com/alphagov/govuk_publishing_components/blob/master/app/views/govuk_publishing_components/components/_metadata.html.erb Also adds it to the accessibility statement as an example and updates the test that checks any updates bump the date.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{% extends "content_template.html" %}
|
||||
{% from "components/service-link.html" import service_link %}
|
||||
{% from "components/content-metadata.html" import content_metadata %}
|
||||
|
||||
{% block per_page_title %}
|
||||
Accessibility statement
|
||||
@@ -9,9 +10,13 @@
|
||||
|
||||
<h1 class="heading-large">Accessibility statement</h1>
|
||||
|
||||
<p class="govuk-body">
|
||||
Published 23 September 2020<br>Last updated 27 October 2021<br>We review this page every 3 months.
|
||||
</p>
|
||||
{{ content_metadata(
|
||||
data={
|
||||
"Published": "23 September 2020",
|
||||
"Last updated": "27 October 2021"
|
||||
},
|
||||
suffix="We review this page every 3 months"
|
||||
) }}
|
||||
|
||||
<p class="govuk-body">
|
||||
This accessibility statement applies to the www.notifications.service.gov.uk domain. It does not apply to the <a class="govuk-link govuk-link--no-visited-state" href="https://docs.notifications.service.gov.uk">GOV.UK Notify API documentation subdomain</a>.
|
||||
|
||||
Reference in New Issue
Block a user