-
Notifications
You must be signed in to change notification settings - Fork 107
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
Update footer copyright statement #940
Conversation
The copyright guidance was changed in #915 to be copyright of NHS England instead of Crown Copyright, but the text in the footer was only partially updated. This updates the second instance of Crown Copyright in the footer to also be NHS England. (The text is in 2 places in the template, and which one is used depends on how many columns of links are included).
Hi @frankieroberto, in this case Crown copyright is correct. It's because it's the NHS website example and the NHS website is Crown copyright, unlike most other NHS products. |
Hi @sarawilcox! Thanks. I should have been clearer - I think the issue is that in the footer component in nhs-frontend, whether it displays "Crown Copyright" or "Copyright NHS England" seems to depend on the number of columns used in the footer. Not sure if this is deliberate or an oversight, but it confused me! |
Hi Frankie, The copyright doesn't depend on the number of columns, the component "Footer (columns)" is the implementation that is included in the live site, so we chose to use it as the example of footer with columns with the copyright included. |
Ooooh, this is why the copyright changed in my prototype; it was saying NHS England, then after I added another column of links it changed to Crown Copyright. When I first looked at this codebase, I only spotted one of the 2 lines of code where a copyright statement is provided. Until this issue is resolved, in my prototype I’ve added this fix: {{ footer({
…
}) | replace("© Crown copyright", "© NHS England") }} I agree that it should be configurable; perhaps with the default/fallback value being Reading the Footer guidance in the Service Manual, it looks like this was either once possible, or was intended to be possible but not implemented:
|
@paulrobertlloyd well spotted! Looks like the documentation for this component on the NHS Service Manual doesn’t quite match the Nunjucks macro in nhsuk-frontend. I’ve opened a quick PR to fix this: #975 |
Closing this now, as #975 makes it redundant. |
The copyright guidance was changed in #915 to be copyright of NHS England instead of Crown Copyright, but the text in the footer was only partially updated.
This updates the second instance of Crown Copyright in the footer to also be NHS England. (The text is in 2 places in the template, and which one is used depends on how many columns of links are included).
This updates the footer with navigation links example to match the guidance on the page.