-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add last_updated timestamp on help_page format #907
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
@@ -16,7 +16,7 @@ | |||
rich_govspeak: true %> | |||
|
|||
<% #https://github.com/alphagov/government-frontend/pull/329#issuecomment-297681738 %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reckon we can remove this comment now.
ecbd107
to
79f26dd
Compare
Thanks @thomasleese! I've updated that now 👍 |
To ensure we are GDPR compliant we need to follow the privacy notice template where we have to include an updated timestamp on the page. The `last_updated` uses the `public_updated_at` content_item attribute.
79f26dd
to
49cd505
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make use of this component so this stays consistent with other document types rendered by government-frontend? https://government-frontend.herokuapp.com/component-guide/published-dates/just_last_updated_date
For consistency we should be using the frontend component that renders the last_updated attribute.
Thanks @vanitabarrett! |
To ensure we are GDPR compliant we need to follow the privacy notice template where we have to include an updated timestamp on the privacy page (https://www.gov.uk/help/privacy-policy), which uses the
help_page
document type.The
last_updated
uses thepublic_updated_at
content_item attribute and will affect allhelp_page
pages.Trello card:
Enable the 'last updated' timestamp on GOV.UK privacy page / 'help_page' format
https://government-frontend-pr-907.herokuapp.com/help/privacy-policy
Visual regression results:
https://government-frontend-pr-907.surge.sh/gallery.html
Component guide for this PR:
https://government-frontend-pr-907.herokuapp.com/component-guide