Skip to content

Commit

Permalink
content changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nboyse committed Nov 29, 2024
1 parent 7d82816 commit 5b23871
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions django_app/redbox_app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"plausible.io",
"eu.i.posthog.com",
"eu-assets.i.posthog.com",
"'sha256-qmCu1kQifDfCnUd+L49nusp7+PeRl23639pzN5QF2WA='",
)
CSP_OBJECT_SRC = ("'none'",)
CSP_REQUIRE_TRUSTED_TYPES_FOR = ("'script'",)
Expand Down
6 changes: 5 additions & 1 deletion django_app/redbox_app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@

<body class="govuk-template__body">
<script hash="sha256-GUQ5ad8JK5KmEWmROf3LZd9ge94daqNvd8xy9YS1iDw=">document.body.className += ' js-enabled' + ('noModule' in HTMLScriptElement.prototype ? ' govuk-frontend-supported' : '');</script>

<script type="module" src="{{static('js/libs/govuk-frontend.min.js')}}" nonce="{{ request.csp_nonce }}"></script>
<script hash="sha256-qmCu1kQifDfCnUd+L49nusp7+PeRl23639pzN5QF2WA=" type="module" nonce="{{ request.csp_nonce }}">
import { initAll } from '../static/js/libs/govuk-frontend.min.js'
initAll()
</script>
<a href="#main-content" class="govuk-skip-link" data-module="govuk-skip-link">Skip to main content</a>

{% if environment | lower != "prod" %}
Expand Down
2 changes: 1 addition & 1 deletion django_app/redbox_app/templates/privacy-notice.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1 class="govuk-heading-l">Privacy notice for Redbox</h1>
<h2 class="govuk-heading-m">Your data</h2>
<h3 class="govuk-heading-s">Purpose</h3>
<p class="govuk-body">The purposes for which we are processing your personal data are:</p>
<ul class="govuk-list govuk-list--bullet">
<ul class="govuk-list govuk-list--bullet govuk-body">
<li>enabling login to the platform</li>
<li>chat history and log information will be anonymised and analysis of this will be used to improve the service</li>
</ul>
Expand Down

0 comments on commit 5b23871

Please sign in to comment.