PPHA-679: Contact us page#375
Merged
jamiefalcus merged 3 commits intomainfrom Mar 17, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new “Contact us” static page to the lung cancer screening questionnaire site, making contact details discoverable and configurable via environment/settings.
Changes:
- Introduces
/contact-usroute backed by a new Jinja template and adds a footer link to it. - Adds
CONTACT_NUMBERandCONTACT_EMAILsettings (with defaults) and documents them in.env.example. - Adds a Jinja filter to read values from environment/settings, with unit tests and feature coverage for the new page.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
lung_cancer_screening/settings.py |
Adds configurable contact number/email settings with defaults. |
lung_cancer_screening/questions/urls.py |
Adds contact-us URL mapped to a TemplateView. |
lung_cancer_screening/questions/tests/unit/test_jinja2_env.py |
Adds unit tests for the new Jinja env/settings lookup helper. |
lung_cancer_screening/questions/jinja2/contact_us.jinja |
Implements the “Contact us” page content using env/settings-driven values. |
lung_cancer_screening/jinja2_env.py |
Registers a new Jinja filter (env) and implements get_env_value. |
lung_cancer_screening/core/jinja2/layout.jinja |
Adds “Contact us” to the footer meta links. |
features/static.feature |
Adds feature coverage and accessibility checks for /contact-us. |
.env.example |
Documents CONTACT_NUMBER and CONTACT_EMAIL env vars. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4ed6e92 to
3779ab4
Compare
|
stephhou
approved these changes
Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What is the change?
Adding the contact us page
Why are we making this change?
So that users are able to find contact details to make contact.