Skip to content

Commit

Permalink
Merge pull request #3874 from alphagov/update-ETP-default-link
Browse files Browse the repository at this point in the history
Update default link for ETP
  • Loading branch information
owenatgov authored Jun 29, 2023
2 parents 3623286 + 3727d8c commit 6b14436
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/govuk/components/exit-this-page/exit-this-page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ params:
- name: redirectUrl
type: string
required: false
description: URL to redirect the current tab to. Defaults to `https://www.google.com`.
description: URL to redirect the current tab to. Defaults to `https://www.bbc.co.uk/weather`.
- name: id
type: string
required: false
Expand Down
2 changes: 1 addition & 1 deletion src/govuk/components/exit-this-page/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
{{- govukButton({
text: params.text | default("Exit this page"),
classes: "govuk-button--warning govuk-exit-this-page__button govuk-js-exit-this-page-button",
href: params.redirectUrl | default("https://www.google.com")
href: params.redirectUrl | default("https://www.bbc.co.uk/weather")
}) -}}
</div>

0 comments on commit 6b14436

Please sign in to comment.