From c3e9bbbc53b34a342b0b7c90aeef54c780c75f41 Mon Sep 17 00:00:00 2001 From: Iain McNulty Date: Fri, 20 Dec 2024 11:33:09 +0000 Subject: [PATCH] Update language describing Accredited partners in Publish --- .../providers/accredited_provider_search/results.html.erb | 2 +- .../providers/accredited_providers/_can_remove.html.erb | 2 +- .../accredited_providers/_cannot_remove.html.erb | 8 ++++---- .../providers/accredited_providers/checks/show.html.erb | 8 ++++---- .../publish/providers/accredited_providers/edit.html.erb | 2 +- .../publish/providers/accredited_providers/index.html.erb | 8 ++++---- .../publish/providers/accredited_providers/new.html.erb | 2 +- .../publish/providers/training_providers/index.html.erb | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/app/views/publish/providers/accredited_provider_search/results.html.erb b/app/views/publish/providers/accredited_provider_search/results.html.erb index 172033f8e9..865acc0b2e 100644 --- a/app/views/publish/providers/accredited_provider_search/results.html.erb +++ b/app/views/publish/providers/accredited_provider_search/results.html.erb @@ -19,7 +19,7 @@ <%= render search_result_title_component %> <% unless @accredited_provider_search.providers.empty? %> - <%= f.govuk_radio_buttons_fieldset(:provider_id, legend: { text: "Accredited provider", size: "m" }) do %> + <%= f.govuk_radio_buttons_fieldset(:provider_id, legend: { text: "Accredited partner", size: "m" }) do %> <% @accredited_provider_search.providers.each_with_index do |provider, index| %> <%= f.govuk_radio_button :provider_id, provider.id, label: { text: provider.name_and_code }, link_errors: index.zero? %> <% end %> diff --git a/app/views/publish/providers/accredited_providers/_can_remove.html.erb b/app/views/publish/providers/accredited_providers/_can_remove.html.erb index 5694b28c23..439d9a21aa 100644 --- a/app/views/publish/providers/accredited_providers/_can_remove.html.erb +++ b/app/views/publish/providers/accredited_providers/_can_remove.html.erb @@ -11,7 +11,7 @@ <%= t("publish.providers.accredited_providers.delete.title") %> - <%= govuk_button_to "Remove accredited provider", + <%= govuk_button_to "Remove accredited partner", delete_publish_provider_recruitment_cycle_accredited_provider_path, method: :delete, class: "govuk-button--warning" %> diff --git a/app/views/publish/providers/accredited_providers/_cannot_remove.html.erb b/app/views/publish/providers/accredited_providers/_cannot_remove.html.erb index 391f29410b..ed589b660b 100644 --- a/app/views/publish/providers/accredited_providers/_cannot_remove.html.erb +++ b/app/views/publish/providers/accredited_providers/_cannot_remove.html.erb @@ -1,4 +1,4 @@ -<% content_for :page_title, "You cannot remove this accredited provider" %> +<% content_for :page_title, "You cannot remove this accredited partner" %> <% content_for :before_content do %> <%= govuk_back_link_to(publish_provider_recruitment_cycle_accredited_providers_path) %> @@ -8,17 +8,17 @@

<%= @accredited_provider.provider_name %> - You cannot remove this accredited provider + You cannot remove this accredited partner

<%= @accredited_provider.provider_name %> is an - accredited provider for courses run by <%= @provider.provider_name %>. At least one of these courses is + ratifying partner for courses run by <%= @provider.provider_name %>. At least one of these courses is currently published on Find.

- If you need to change an accredited provider for a course which is published, please contact us at + If you need to change an ratifying provider for a course which is published, please contact us at <%= bat_contact_mail_to %>.

diff --git a/app/views/publish/providers/accredited_providers/checks/show.html.erb b/app/views/publish/providers/accredited_providers/checks/show.html.erb index 4bebd387e0..e9a49dc93d 100644 --- a/app/views/publish/providers/accredited_providers/checks/show.html.erb +++ b/app/views/publish/providers/accredited_providers/checks/show.html.erb @@ -18,15 +18,15 @@ <%= render GovukComponent::SummaryListComponent.new do |component| component.with_row do |row| - row.with_key { "Accredited provider" } + row.with_key { "Accredited partner" } row.with_value { @accredited_provider_form.provider_name } - row.with_action(text: "Change", href: search_publish_provider_recruitment_cycle_accredited_providers_path(goto_confirmation: true), visually_hidden_text: "accredited provider name") + row.with_action(text: "Change", href: search_publish_provider_recruitment_cycle_accredited_providers_path(goto_confirmation: true), visually_hidden_text: "accredited partner name") end component.with_row do |row| - row.with_key { "About the accredited provider" } + row.with_key { "About the accredited partner" } row.with_value { markdown @accredited_provider_form.description } - row.with_action(text: "Change", href: new_publish_provider_recruitment_cycle_accredited_provider_path(goto_confirmation: true), visually_hidden_text: "accredited provider description") + row.with_action(text: "Change", href: new_publish_provider_recruitment_cycle_accredited_provider_path(goto_confirmation: true), visually_hidden_text: "accredited partner description") end end %> diff --git a/app/views/publish/providers/accredited_providers/edit.html.erb b/app/views/publish/providers/accredited_providers/edit.html.erb index 506d2bd5a1..205854a157 100644 --- a/app/views/publish/providers/accredited_providers/edit.html.erb +++ b/app/views/publish/providers/accredited_providers/edit.html.erb @@ -1,4 +1,4 @@ -<% content_for :page_title, title_with_error_prefix("About the accredited provider - #{@accredited_provider.provider_name}", @accredited_provider_form.errors.present?) %> +<% content_for :page_title, title_with_error_prefix("About the accredited partnership - #{@accredited_provider.provider_name}", @accredited_provider_form.errors.present?) %> <%= form_with( model: @accredited_provider_form, diff --git a/app/views/publish/providers/accredited_providers/index.html.erb b/app/views/publish/providers/accredited_providers/index.html.erb index 6cbf5b13db..76bb2b5527 100644 --- a/app/views/publish/providers/accredited_providers/index.html.erb +++ b/app/views/publish/providers/accredited_providers/index.html.erb @@ -1,12 +1,12 @@ -<% content_for :page_title, title_with_error_prefix("Accredited providers", nil) %> +<% content_for :page_title, title_with_error_prefix("Accredited partners", nil) %>

- Accredited providers + Accredited partners

- <%= govuk_button_link_to("Add accredited provider", search_publish_provider_recruitment_cycle_accredited_providers_path( + <%= govuk_button_link_to("Add accredited partner", search_publish_provider_recruitment_cycle_accredited_providers_path( provider_code: @provider.provider_code, recruitment_cycle_year: @provider.recruitment_cycle_year )) %> @@ -16,7 +16,7 @@
<% if @provider.accredited_bodies.none? %> -

There are no accredited providers for <%= @provider.provider_name %>.

+

There are no accredited partners for <%= @provider.provider_name %>.

<% else %> <% @provider.accredited_bodies.each do |accredited_body| %> <%= render AccreditedProviderComponent.new(provider_name: accredited_body[:provider_name], remove_path: delete_publish_provider_recruitment_cycle_accredited_provider_path(accredited_provider_code: accredited_body[:provider_code]), about_accredited_provider: accredited_body[:description], change_about_accredited_provider_path: edit_publish_provider_recruitment_cycle_accredited_provider_path(accredited_provider_code: accredited_body[:provider_code])) %> diff --git a/app/views/publish/providers/accredited_providers/new.html.erb b/app/views/publish/providers/accredited_providers/new.html.erb index d389e45095..c6876faff3 100644 --- a/app/views/publish/providers/accredited_providers/new.html.erb +++ b/app/views/publish/providers/accredited_providers/new.html.erb @@ -1,4 +1,4 @@ -<% content_for :page_title, title_with_error_prefix("About the accredited provider - Add accredited provider - #{@provider.name_and_code}", @accredited_provider_form.errors.present?) %> +<% content_for :page_title, title_with_error_prefix("About the accredited partnership - Add accredited partner - #{@provider.name_and_code}", @accredited_provider_form.errors.present?) %> <%= form_with( model: @accredited_provider_form, diff --git a/app/views/publish/providers/training_providers/index.html.erb b/app/views/publish/providers/training_providers/index.html.erb index 57c95c31dd..2cde0117e3 100644 --- a/app/views/publish/providers/training_providers/index.html.erb +++ b/app/views/publish/providers/training_providers/index.html.erb @@ -35,7 +35,7 @@