Skip to content
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

Merged
merged 2 commits into from
May 17, 2018

Conversation

deborahchua
Copy link
Contributor

@deborahchua deborahchua commented May 16, 2018

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 the public_updated_at content_item attribute and will affect all help_page pages.

screen shot 2018-05-16 at 16 44 01


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

@tijmenb tijmenb temporarily deployed to government-frontend-pr-907 May 16, 2018 16:21 Inactive
Copy link
Contributor

@thomasleese thomasleese left a 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 %>
Copy link
Contributor

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.

@deborahchua deborahchua force-pushed the enable-timestamp-on-help-page-format branch from ecbd107 to 79f26dd Compare May 17, 2018 08:20
@boffbowsh boffbowsh temporarily deployed to government-frontend-pr-907 May 17, 2018 08:20 Inactive
@deborahchua
Copy link
Contributor Author

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.
@deborahchua deborahchua force-pushed the enable-timestamp-on-help-page-format branch from 79f26dd to 49cd505 Compare May 17, 2018 08:31
@boffbowsh boffbowsh temporarily deployed to government-frontend-pr-907 May 17, 2018 08:32 Inactive
Copy link
Contributor

@vanitabarrett vanitabarrett left a 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.
@deborahchua
Copy link
Contributor Author

Thanks @vanitabarrett!

@deborahchua deborahchua merged commit 1d68f46 into master May 17, 2018
@deborahchua deborahchua deleted the enable-timestamp-on-help-page-format branch May 17, 2018 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants