diff --git a/app/views/schools/availability_preferences/edit.html.erb b/app/views/schools/availability_preferences/edit.html.erb index 37753ac6f2..339e569067 100644 --- a/app/views/schools/availability_preferences/edit.html.erb +++ b/app/views/schools/availability_preferences/edit.html.erb @@ -1,4 +1,11 @@ -<%- self.page_title = "Choose how dates are displayed" %> +<%- self.page_title = "Choose how dates are displayed" + + self.breadcrumbs = { + @current_school.name => schools_dashboard_path, + 'Choose how dates are displayed' => nil + } + +%>
- We’ve sent your response to <%= @cancellation.candidate_name %> + We’ve sent your response to <%= @cancellation.candidate_name %>.
We've also sent them a text message asking them to check their inbox. diff --git a/app/views/schools/contact_us/show.html.erb b/app/views/schools/contact_us/show.html.erb index c8be772edd..b68a1a69c9 100644 --- a/app/views/schools/contact_us/show.html.erb +++ b/app/views/schools/contact_us/show.html.erb @@ -1,5 +1,4 @@ <% self.page_title = "Contact us" %> -
- We’ve sent your response to <%= @cancellation.candidate_name %> + We’ve sent your response to <%= @cancellation.candidate_name %>.
<%= govuk_link_to 'Return to requests', schools_placement_requests_path %> diff --git a/app/views/schools/toggle_enabled/edit.html.erb b/app/views/schools/toggle_enabled/edit.html.erb index e9e1ea51fa..1d947af894 100644 --- a/app/views/schools/toggle_enabled/edit.html.erb +++ b/app/views/schools/toggle_enabled/edit.html.erb @@ -1,4 +1,11 @@ -<% self.page_title = "Toggle requests" %> +<% self.page_title = "Turn profile on or off" + + self.breadcrumbs = { + @current_school.name => schools_dashboard_path, + 'Turn profile on or off' => nil + } + +%> <%= form_for @current_school, url: schools_enabled_path, method: 'patch' do |f| %> <%= f.govuk_radio_buttons_fieldset(:enabled) do %> diff --git a/features/schools/toggle_enabling_and_disabling.feature b/features/schools/toggle_enabling_and_disabling.feature index 926f75878e..92fc18ac43 100644 --- a/features/schools/toggle_enabling_and_disabling.feature +++ b/features/schools/toggle_enabling_and_disabling.feature @@ -9,7 +9,7 @@ Feature: Toggling being enabled and disabled Scenario: Page title Given I am on the 'toggle requests' page - Then the page title should be 'Toggle requests' + Then the page title should be 'Turn profile on or off' Scenario: Page contents Given I am on the 'toggle requests' page