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

HERITAGE-429 updating of footer links urls #146

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

JohnHeeryTNA
Copy link
Collaborator

Ticket URL: https://national-archives.atlassian.net/jira/software/c/projects/HERITAGE/issues/HERITAGE-429

About these changes

URls from footer links have been updated

How to check these changes

Run locally, confirm links function correctly

Before assigning to reviewer, please make sure you have

  • Checked things thoroughly before handing over to reviewer
  • Checked PR title starts with ticket number as per project conventions to help us keep track of changes
  • Ensured that PR includes only commits relevant to the ticket
  • Waited for all CI jobs to pass before requesting a review
  • Added/updated tests and documentation where relevant

Merging PR guidance

Follow docs\developer-guide\contributing.md

Deployment guidance

Follow docs\infra\environments.md

@@ -11,22 +11,22 @@
<nav class="tna-footer__legal tna-column tna-column--full" aria-label="General site links">
<ul class="tna-footer__legal-items tna-ul tna-ul--plain">
<li class="tna-footer__legal-item">
<a href="https://www.nationalarchives.gov.uk/help/web-accessibility/" class="tna-footer__legal-item-link">
<a href="https://ohos-zgoyvpy-rasrzs7pi6sd4.uk-1.platformsh.site/using-our-website/#h2.accessibility-statement" class="tna-footer__legal-item-link">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<a href="https://ohos-zgoyvpy-rasrzs7pi6sd4.uk-1.platformsh.site/using-our-website/#h2.accessibility-statement" class="tna-footer__legal-item-link">
<a href="/using-our-website/#h2.accessibility-statement" class="tna-footer__legal-item-link">

Would a relative link be better?

Copy link
Collaborator Author

@JohnHeeryTNA JohnHeeryTNA Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. Is there an easy way to get the base url via python? Something like {% sitebase %}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would get resolved on its own.
see example vis_view_img="/static/images/ohos-homepage-maps.jpg"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@TNA-Allan TNA-Allan Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The using-our-website page is tied to a login.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The login can removed via Wagtail Admin as required.

Accessibility statement
</a>
</li>
<li class="tna-footer__legal-item">
<a href="https://www.nationalarchives.gov.uk/legal/" class="tna-footer__legal-item-link">
<a href="https://ohos-zgoyvpy-rasrzs7pi6sd4.uk-1.platformsh.site/using-our-website/#h2.terms-and-conditions" class="tna-footer__legal-item-link">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<a href="https://ohos-zgoyvpy-rasrzs7pi6sd4.uk-1.platformsh.site/using-our-website/#h2.terms-and-conditions" class="tna-footer__legal-item-link">
<a href="/using-our-website/#h2.terms-and-conditions" class="tna-footer__legal-item-link">

Terms and conditions
</a>
</li>
<li class="tna-footer__legal-item">
<a href="https://www.nationalarchives.gov.uk/legal/privacy.htm" class="tna-footer__legal-item-link">
<a href="https://ohos-zgoyvpy-rasrzs7pi6sd4.uk-1.platformsh.site/using-our-website/#h2.privacy-policy" class="tna-footer__legal-item-link">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<a href="https://ohos-zgoyvpy-rasrzs7pi6sd4.uk-1.platformsh.site/using-our-website/#h2.privacy-policy" class="tna-footer__legal-item-link">
<a href="/using-our-website/#h2.privacy-policy" class="tna-footer__legal-item-link">

Privacy policy
</a>
</li>
<li class="tna-footer__legal-item">
<a href="https://www.nationalarchives.gov.uk/legal/cookies/" class="tna-footer__legal-item-link">
<a href="https://ohos-zgoyvpy-rasrzs7pi6sd4.uk-1.platformsh.site/using-our-website/#h2.cookies" class="tna-footer__legal-item-link">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<a href="https://ohos-zgoyvpy-rasrzs7pi6sd4.uk-1.platformsh.site/using-our-website/#h2.cookies" class="tna-footer__legal-item-link">
<a href="/using-our-website/#h2.cookies" class="tna-footer__legal-item-link">

@TNA-Allan TNA-Allan self-requested a review November 1, 2024 14:41
Copy link
Collaborator

@TNA-Allan TNA-Allan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JohnHeeryTNA ,
I am getting an error

TemplateDoesNotExist at /using-our-website/
includes/card-group-secondary-nav.html

templates/includes/card-group-secondary-nav.html is missing.

You could get it from ds-wagtail repo I think.

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