From 1a668dcb98797f4c64259d2a5c52b2dbaa935f58 Mon Sep 17 00:00:00 2001 From: Serena Abbott Date: Thu, 28 Sep 2023 09:20:56 +0100 Subject: [PATCH] feat(service): update links --- .../_energy.html.erb | 2 +- .../support_request_submissions/show.html.erb | 4 +--- .../specify/support_requests/index.html.erb | 6 +++--- config/locales/en.yml | 21 +++++++++---------- .../support_requests/start_page_spec.rb | 8 +++---- .../submit_support_request_spec.rb | 8 +++---- 6 files changed, 23 insertions(+), 26 deletions(-) diff --git a/app/views/framework_request_submissions/_energy.html.erb b/app/views/framework_request_submissions/_energy.html.erb index 1473e4dc1..cd37bb204 100644 --- a/app/views/framework_request_submissions/_energy.html.erb +++ b/app/views/framework_request_submissions/_energy.html.erb @@ -19,7 +19,7 @@

- <%= I18n.t("faf_submissions.what_you_can_do_next.energy.list_start", guidance_link: link_to(I18n.t("faf_submissions.what_you_can_do_next.energy.guidance_link"), "https://www.gov.uk/guidance/buying-for-schools/energy", class: "govuk-link govuk-link--no-visited-state")).html_safe %> + <%= I18n.t("faf_submissions.what_you_can_do_next.energy.list_start", guidance_link: link_to(I18n.t("faf_submissions.what_you_can_do_next.energy.guidance_link"), "https://www.gov.uk/guidance/buying-for-schools-things-to-consider-before-you-start/energy", class: "govuk-link govuk-link--no-visited-state")).html_safe %>

diff --git a/app/views/specify/support_requests/index.html.erb b/app/views/specify/support_requests/index.html.erb index e7d6b2a36..4ddcd7f4c 100644 --- a/app/views/specify/support_requests/index.html.erb +++ b/app/views/specify/support_requests/index.html.erb @@ -28,13 +28,13 @@ read about writing a specification
  • - find out more about planning for what you're buying + read about how to buy what you need to learn more about the buying process
  • - read information on finding the right way to buy for your school + read guides about what to consider before buying specific goods and services
  • - use our find a framework service to see if you can buy what you need using a DfE recommended framework + use our find a framework service to see if you can buy what you need using a DfE approved framework
  • diff --git a/config/locales/en.yml b/config/locales/en.yml index 9959e11e7..46ef56ecd 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -436,8 +436,8 @@ en: energy_request: header: Is your request about energy? subtitle: About your request - body: 'You can read our guidance about %{guidance_link}. It includes:' - guidance_link: buying energy for your school + body: 'You can %{guidance_link}. It includes:' + guidance_link: read our guidance about buying energy for your school body_bullets: - whether you can get a reduced rate VAT - how to choose between fixed, flexible or variable price contracts @@ -575,7 +575,7 @@ en: what_happens_next: What happens next what_you_can_do_next: What you can do next sub_header: - confirmation: 'We have sent a confirmation email to:' + confirmation: 'We have sent a confirmation email to' what_you_can_do_next: default: list_start: 'Read guidance about:' @@ -1670,7 +1670,7 @@ en: We will not receive any new changes you make. intro: - Use this service to request free advice and support from our procurement experts for help with your catering or multi-functional devices specification. - - DfE's supported buying team will respond to you within 2 working days. + - The Get help buying for schools team will respond to you within 2 working days. label: category: What are you buying? message: How can we help? @@ -1688,23 +1688,22 @@ en: support_request_submissions: back_button: Back to your dashboard body: - what_happens_next: The DfE's supported buying team will be in touch within %{days} working days to discuss how we can support you. + what_happens_next: The Get help buying for schools team will be in touch within %{days} working days to discuss how we can support you. what_you_can_do_next: "%{continue_link} if you can (but we won't receive these new changes), or %{start_new_link} if you haven't done so yet." header: confirmation: Your request for support has been sent what_happens_next: What happens next what_you_can_do_next: What you can do next - you_can_also: You can also + you_can_also: 'You can also:' sub_header: - confirmation: 'We have sent a confirmation to:' + confirmation: 'We have sent a confirmation to' what_you_can_do_next: continue_link: Continue with your specification - start_new_link: start a new specification + start_new_link: Start a new specification you_can_also: - read_guides_link: read guides about goods and services - read_procs_link: read buying procedures and procurement law for schools + read_guides_link: read guides about what to consider before buying specific goods and services + read_procs_link: read about how to buy what you need step_one: "%{read_procs_link} to learn more about the buying process" - step_two: "%{read_guides_link} that you're buying" task: button: back: Return to task list diff --git a/spec/features/specify/support_requests/start_page_spec.rb b/spec/features/specify/support_requests/start_page_spec.rb index c01d0b974..727e8b143 100644 --- a/spec/features/specify/support_requests/start_page_spec.rb +++ b/spec/features/specify/support_requests/start_page_spec.rb @@ -15,7 +15,7 @@ it "explains the form to the user" do expect(find("div.govuk-grid-column-two-thirds", text: "Use this service to request free advice and support from our procurement experts for help with your catering or multi-functional devices specification.")).to be_present - expect(find("div.govuk-grid-column-two-thirds", text: "DfE's supported buying team will respond to you within 2 working days.")).to be_present + expect(find("div.govuk-grid-column-two-thirds", text: "The Get help buying for schools team will respond to you within 2 working days.")).to be_present end it "links to more information" do @@ -23,11 +23,11 @@ href: "https://www.gov.uk/guidance/buying-procedures-and-procurement-law-for-schools/writing-a-specification", class: "govuk-link" - expect(page).to have_link "planning for what you're buying", - href: "https://www.gov.uk/guidance/buying-for-schools", + expect(page).to have_link "read guides about what to consider before buying specific goods and services", + href: "https://www.gov.uk/guidance/buying-for-schools-things-to-consider-before-you-start", class: "govuk-link" - expect(page).to have_link "information on finding the right way to buy", + expect(page).to have_link "read about how to buy what you need", href: "https://www.gov.uk/guidance/buying-procedures-and-procurement-law-for-schools", class: "govuk-link" diff --git a/spec/features/specify/support_requests/submit_support_request_spec.rb b/spec/features/specify/support_requests/submit_support_request_spec.rb index 43ddf22c9..5d3a44234 100644 --- a/spec/features/specify/support_requests/submit_support_request_spec.rb +++ b/spec/features/specify/support_requests/submit_support_request_spec.rb @@ -89,17 +89,17 @@ # support_request_submissions.confirmation.header expect(find("h1.govuk-panel__title")).to have_text "Your request for support has been sent" # support_request_submissions.sub_header.confirmation - expect(find("div.govuk-panel__body")).to have_text "We have sent a confirmation to: test@test" + expect(find("div.govuk-panel__body")).to have_text "We have sent a confirmation to test@test" end it "links to the dashboard" do - expect(page).to have_link "start a new specification", href: "/dashboard" + expect(page).to have_link "Start a new specification", href: "/dashboard" end it "links to further information" do within "ul.govuk-list--bullet" do - expect(page).to have_link "read buying procedures and procurement law for schools", href: "https://www.gov.uk/guidance/buying-procedures-and-procurement-law-for-schools" - expect(page).to have_link "read guides about goods and services", href: "https://www.gov.uk/guidance/buying-for-schools" + expect(page).to have_link "read about how to buy what you need", href: "https://www.gov.uk/guidance/buying-procedures-and-procurement-law-for-schools" + expect(page).to have_link "read guides about what to consider before buying specific goods and services", href: "https://www.gov.uk/guidance/buying-for-schools-things-to-consider-before-you-start" end end