From 0fe03993cd44c4f58a787e933f7c2868c5b55bee Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Wed, 5 Jan 2022 14:39:18 +0000 Subject: [PATCH] Add content-metadata component to other pages --- app/templates/views/privacy.html | 7 ++++++- app/templates/views/roadmap.html | 10 ++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/app/templates/views/privacy.html b/app/templates/views/privacy.html index c05ff8a70..52c649227 100644 --- a/app/templates/views/privacy.html +++ b/app/templates/views/privacy.html @@ -1,4 +1,5 @@ {% extends "withoutnav_template.html" %} +{% from "components/content-metadata.html" import content_metadata %} {% block per_page_title %} Privacy notice: how we use your data @@ -10,7 +11,11 @@

Privacy notice: how we use your data

-

Last updated 1 October 2021

+ {{ content_metadata( + data={ + "Last updated": "1 October 2021" + } + ) }}

Who we are

diff --git a/app/templates/views/roadmap.html b/app/templates/views/roadmap.html index 26cceea08..dad7d9f5d 100644 --- a/app/templates/views/roadmap.html +++ b/app/templates/views/roadmap.html @@ -1,5 +1,6 @@ -{% from "components/table.html" import mapping_table, row, text_field, edit_field, field with context %} {% extends "content_template.html" %} +{% from "components/table.html" import mapping_table, row, text_field, edit_field, field with context %} +{% from "components/content-metadata.html" import content_metadata %} {% block per_page_title %} Roadmap @@ -9,7 +10,12 @@

Roadmap

-

Last updated 30 November 2021
We review this page every 3 months.

+ {{ content_metadata( + data={ + "Last updated": "30 November 2021" + }, + suffix="We review this page every 3 months" + ) }}

The GOV.UK Notify roadmap shows what we’re working on and some of the things we’ve done.

The roadmap is only a guide. It does not cover everything we do, and some things may change.