Skip to content

PPHA-679: Contact us page#375

Merged
jamiefalcus merged 3 commits intomainfrom
PPHA-679-contact-us-page
Mar 17, 2026
Merged

PPHA-679: Contact us page#375
jamiefalcus merged 3 commits intomainfrom
PPHA-679-contact-us-page

Conversation

@jamiefalcus
Copy link
Copy Markdown
Contributor

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.

Copilot AI review requested due to automatic review settings March 17, 2026 11:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-us route backed by a new Jinja template and adds a footer link to it.
  • Adds CONTACT_NUMBER and CONTACT_EMAIL settings (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.

Comment thread lung_cancer_screening/questions/jinja2/contact_us.jinja Outdated
Comment thread lung_cancer_screening/questions/tests/unit/test_jinja2_env.py Outdated
Comment thread lung_cancer_screening/questions/tests/unit/test_jinja2_env.py
Comment thread lung_cancer_screening/questions/tests/unit/test_jinja2_env.py Outdated
Comment thread lung_cancer_screening/jinja2_env.py
@jamiefalcus jamiefalcus force-pushed the PPHA-679-contact-us-page branch from 4ed6e92 to 3779ab4 Compare March 17, 2026 11:44
@sonarqubecloud
Copy link
Copy Markdown

@jamiefalcus jamiefalcus merged commit 459bec0 into main Mar 17, 2026
25 checks passed
@jamiefalcus jamiefalcus deleted the PPHA-679-contact-us-page branch March 17, 2026 13:09
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.

3 participants