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

Use govuk design system information banner for historical editions and html attachments #2446

Conversation

davidgisbey
Copy link
Contributor

@davidgisbey davidgisbey commented May 23, 2022

Description

We're doing some work to expose a history banner on html attachments to let the user know that a publication was published under a previous government. This means that we need to expose whether a html publication is political and which government it was published under on the object passed to the frontend.

This PR exposes the history banner on the Frontend when a html publication is historically political

image

Whitehall PR

alphagov/whitehall#6585

GOVUK Content Schema PR

alphagov/govuk-content-schemas#1096

Trello card

https://trello.com/c/xWMcmTqb/409-implement-history-mode-banner-on-html-attachments

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

@davidgisbey davidgisbey force-pushed the use-govuk-design-system-information-banner-for-historical-editions branch 2 times, most recently from f5dcf61 to a55033b Compare May 30, 2022 10:08
@davidgisbey davidgisbey marked this pull request as ready for review May 30, 2022 10:11
This now uses the publishing component notice component.
This does the work to ensure that if a html attachment is historically
political then the history notice banner is rendered like it is for
various other document types such as News Articles.
@davidgisbey davidgisbey force-pushed the use-govuk-design-system-information-banner-for-historical-editions branch from a55033b to 9c9e46a Compare May 31, 2022 15:00
@davidgisbey davidgisbey merged commit ed63e5b into main May 31, 2022
@davidgisbey davidgisbey deleted the use-govuk-design-system-information-banner-for-historical-editions branch May 31, 2022 17:03
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.

2 participants