-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: develop
Are you sure you want to change the base?
Conversation
templates/includes/footer.html
Outdated
@@ -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"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<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?
There was a problem hiding this comment.
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 %}
There was a problem hiding this comment.
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"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmn, well http://127.0.0.1:8000/using-our-website/#h2.accessibility-statement for example gives me a 404.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
templates/includes/footer.html
Outdated
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"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<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"> |
templates/includes/footer.html
Outdated
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"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<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"> |
templates/includes/footer.html
Outdated
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"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<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"> |
There was a problem hiding this 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.
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
Merging PR guidance
Follow docs\developer-guide\contributing.md
Deployment guidance
Follow docs\infra\environments.md