From 461eb0fe42b3d7184e772e38c4bcf2bd2a54282a Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Thu, 3 Mar 2022 16:26:43 +0000 Subject: [PATCH] =?UTF-8?q?Remove=20=E2=80=98your=E2=80=99=20when=20mentio?= =?UTF-8?q?ning=20logs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/case_logs/index.html.erb | 2 +- app/views/layouts/application.html.erb | 2 +- config/forms/2021_2022.json | 4 ++-- spec/features/start_page_spec.rb | 4 ++-- spec/fixtures/forms/2021_2022.json | 2 +- spec/fixtures/forms/2022_2023.json | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/case_logs/index.html.erb b/app/views/case_logs/index.html.erb index 2b4e2d815..7406cd1e4 100644 --- a/app/views/case_logs/index.html.erb +++ b/app/views/case_logs/index.html.erb @@ -1,4 +1,4 @@ -<% content_for :title, "Your logs" %> +<% content_for :title, "Logs" %>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 569d73e9e..3afed8b18 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -43,7 +43,7 @@ if current_user.nil? component.navigation_item(text: 'Sign in', href: user_session_path) elsif - component.navigation_item(text: 'Your logs', href: case_logs_path) + component.navigation_item(text: 'Logs', href: case_logs_path) component.navigation_item(text: 'Your organisation', href: "/organisations/#{current_user.organisation.id}") component.navigation_item(text: 'Your account', href: user_path(current_user)) component.navigation_item(text: 'Sign out', href: destroy_user_session_path, options: { data: {turbo_method: :delete}, method: :delete }) diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index 60630894a..c275d7ff2 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -7,7 +7,7 @@ "label": "Before you start", "subsections": { "setup": { - "label": "Set up your lettings log", + "label": "Set up this lettings log", "pages": { "organisation_details": { "header": "Organisation details", @@ -5640,7 +5640,7 @@ "questions": { "declaration": { "check_answer_label": "", - "header": "Submit your lettings log ", + "header": "Submit this lettings log ", "hint_text": "", "type": "checkbox", "answer_options": { diff --git a/spec/features/start_page_spec.rb b/spec/features/start_page_spec.rb index 6694cf251..d703a8439 100644 --- a/spec/features/start_page_spec.rb +++ b/spec/features/start_page_spec.rb @@ -10,14 +10,14 @@ RSpec.describe "Start Page Features" do sign_in user end - it "takes you to your logs" do + it "takes you to logs" do visit("/") expect(page).to have_current_path("/logs") end end context "when the user is not signed in" do - it "takes you to sign in and then to your logs" do + it "takes you to sign in and then to logs" do visit("/") click_link("Start now") expect(page).to have_current_path("/users/sign-in?start=true") diff --git a/spec/fixtures/forms/2021_2022.json b/spec/fixtures/forms/2021_2022.json index f865c75ac..5b3bbb7f9 100644 --- a/spec/fixtures/forms/2021_2022.json +++ b/spec/fixtures/forms/2021_2022.json @@ -814,7 +814,7 @@ "questions": { "declaration": { "check_answer_label": "", - "header": "Submit your lettings log ", + "header": "Submit this lettings log ", "type": "checkbox", "answer_options": { "declaration": { diff --git a/spec/fixtures/forms/2022_2023.json b/spec/fixtures/forms/2022_2023.json index c56b216f3..8d856aa1c 100644 --- a/spec/fixtures/forms/2022_2023.json +++ b/spec/fixtures/forms/2022_2023.json @@ -7,7 +7,7 @@ "label": "Before you start", "subsections": { "setup": { - "label": "Set up your lettings log", + "label": "Set up this lettings log", "pages": { "renewal": { "header": "",