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

Update links to privacy policy #2376

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/lib/consent_letter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def render_pdf
LINE_PAD = 12
SECTION_PAD = 48

PRIVACY_URL = "https://apply-for-qts-in-england.education.gov.uk/privacy"
PRIVACY_URL =
"https://www.gov.uk/government/publications/privacy-information-education-providers-workforce-including-teachers/5a254207-a566-44f7-ac77-6ba59fd26e04#using-your-data-when-you-use-the-apply-for-qualified-teacher-status-qts-in-england-service"

def document
@document ||=
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
meta_items: {
"Accessibility" => main_app.accessibility_path,
"Cookies" => main_app.cookies_path,
"Privacy" => main_app.privacy_path
"Privacy" => "https://www.gov.uk/government/publications/privacy-information-education-providers-workforce-including-teachers/5a254207-a566-44f7-ac77-6ba59fd26e04#using-your-data-when-you-use-the-apply-for-qualified-teacher-status-qts-in-england-service"
}) do |footer| %>
<% if current_teacher %>
<% footer.with_navigation do %>
Expand Down
198 changes: 0 additions & 198 deletions app/views/static/privacy.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<%= f.govuk_error_summary %>

<h2 class="govuk-heading-m">How we handle your data</h2>
<p class="govuk-body">You can read about the data we collect from you, how we use it and how it’s stored, in our <%= govuk_link_to "privacy policy", privacy_path %>.</p>
<p class="govuk-body">You can read about the data we collect from you, how we use it and how it’s stored, in our <%= govuk_link_to "privacy policy", "https://www.gov.uk/government/publications/privacy-information-education-providers-workforce-including-teachers/5a254207-a566-44f7-ac77-6ba59fd26e04#using-your-data-when-you-use-the-apply-for-qualified-teacher-status-qts-in-england-service" %>.</p>

<%= f.govuk_check_boxes_fieldset :confirmed_no_sanctions, legend: { text: "About sanctions and restrictions", tag: "h2", size: "m" }, small: true do %>
<%= f.govuk_check_box :confirmed_no_sanctions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<% if @reference_request.responses_given? %>
<h3 class="govuk-heading-m">How we handle your data</h3>
<p class="govuk-body">You can read about the data we collect from you, how we use it and how it's stored, in our <%= govuk_link_to "privacy policy", privacy_path %>.</p>
<p class="govuk-body">You can read about the data we collect from you, how we use it and how it's stored, in our <%= govuk_link_to "privacy policy", "https://www.gov.uk/government/publications/privacy-information-education-providers-workforce-including-teachers/5a254207-a566-44f7-ac77-6ba59fd26e04#using-your-data-when-you-use-the-apply-for-qualified-teacher-status-qts-in-england-service" %>.</p>
<h4 class="govuk-heading-m">Submitting your response</h4>
<p class="govuk-body">By selecting the ‘Submit your response’ button, you confirm that, to the best of your knowledge, the details you’ve provided are correct.</p>
<p class="govuk-body">You will not be able to change your response or delete anything once you submit it.</p>
Expand Down
1 change: 0 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,6 @@
get "cookies", to: "static#cookies"
get "email/:key", to: "static#email", as: "email"
get "english-language-guidance", to: "static#english_language_guidance"
get "privacy", to: "static#privacy"

root to: redirect("/eligibility")
end
1 change: 0 additions & 1 deletion config/sitemap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@
add create_or_new_teacher_session_path, changefreq: :monthly
add accessibility_path, changefreq: :monthly
add cookies_path, changefreq: :monthly
add privacy_path, changefreq: :monthly
end
2 changes: 1 addition & 1 deletion public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:pagemap="http://www.google.com/schemas/sitemap-pagemap/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://apply-for-qts-in-england.education.gov.uk</loc><lastmod>2022-08-17T08:49:47+01:00</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url><url><loc>https://apply-for-qts-in-england.education.gov.uk/teacher/sign_in</loc><lastmod>2022-08-17T08:49:47+01:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://apply-for-qts-in-england.education.gov.uk/accessibility</loc><lastmod>2022-08-17T08:49:47+01:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://apply-for-qts-in-england.education.gov.uk/cookies</loc><lastmod>2022-08-17T08:49:47+01:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://apply-for-qts-in-england.education.gov.uk/privacy</loc><lastmod>2022-08-17T08:49:47+01:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url></urlset>
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:pagemap="http://www.google.com/schemas/sitemap-pagemap/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://apply-for-qts-in-england.education.gov.uk</loc><lastmod>2022-08-17T08:49:47+01:00</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url><url><loc>https://apply-for-qts-in-england.education.gov.uk/teacher/sign_in</loc><lastmod>2022-08-17T08:49:47+01:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://apply-for-qts-in-england.education.gov.uk/accessibility</loc><lastmod>2022-08-17T08:49:47+01:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://apply-for-qts-in-england.education.gov.uk/cookies</loc><lastmod>2022-08-17T08:49:47+01:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url></urlset>
Loading