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

feat: add back button to cookie page #728

Merged
merged 3 commits into from
Aug 29, 2024

Commits on Aug 28, 2024

  1. feat: Adds govuk '< Back' button to the cookies page

    The cookies page is viewable from any page in the application, but is likely not an endpoint for users, so they will want to be able to navigate back to their previous page.
    
    The cookie view has been added to `home/views.py`, and the referer URL is validated to ensure the URL is one of the trusted domains (i.e. is within `settings.CSRF_TRUSTED_ORIGINS`).
    
    localhost has been added to `settings.CSRF_TRUSTED_ORIGINS` when running with `settings.DEBUG == True`
    tom-webber committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    86307e4 View commit details
    Browse the repository at this point in the history
  2. chore: html linting

    tom-webber committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    27e384c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f53bc2 View commit details
    Browse the repository at this point in the history