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

Update footer copyright statement #940

Closed
wants to merge 2 commits into from

Conversation

frankieroberto
Copy link
Contributor

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.

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).
@sarawilcox
Copy link
Contributor

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.

@frankieroberto
Copy link
Contributor Author

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!

@roshaanbajwa
Copy link
Collaborator

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.

@edwardhorsford
Copy link
Contributor

edwardhorsford commented Jun 12, 2024

I agree this looks like a bug to me. Copyright text is hardcoded to either NHS England or Crown copyright, and the thing that decides between them is whether you've provided linksColumn2. I don't see why providing linksColumn2 should make it Crown copyright, yet NHS England without.

Footer with a single link:
Screenshot 2024-06-12 at 12 03 24

Footer with a single linksColumn2 in addition:
Screenshot 2024-06-12 at 12 07 29

Aside: ideally these messages would be configurable, not hardcoded. I think this component could be more flexible.

@paulrobertlloyd
Copy link
Contributor

paulrobertlloyd commented Jun 26, 2024

Copyright text is hardcoded to either NHS England or Crown copyright, and the thing that decides between them is whether you've provided linksColumn2.

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 © Crown Copyright.

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:

  • Nunjucks macro options include the following option:

    Name Type Required Description
    copyright string false Optional text for the copyright notice in the footer.
  • Guidance later on the page states:

    Copyright

    Your copyright statement must reflect the ownership of your website or service. The NHS website is (c) Crown copyright but the NHS generally does not have Crown status. The service manual footer, for example, says (c) NHS England.

@frankieroberto
Copy link
Contributor Author

@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

@frankieroberto
Copy link
Contributor Author

Closing this now, as #975 makes it redundant.

@frankieroberto frankieroberto deleted the update-footer-copyright-statement branch June 27, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants