diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 87e058969..aa8f7135f 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -43,13 +43,15 @@
-
+
<%= render partial: "layouts/collection_resources" %> -
+
<%= render partial: "home/upcoming_deadlines" %> +
+ <%= render partial: "layouts/about_this_service" %>
diff --git a/app/views/layouts/_about_this_service.html.erb b/app/views/layouts/_about_this_service.html.erb new file mode 100644 index 000000000..cdb2ceb2b --- /dev/null +++ b/app/views/layouts/_about_this_service.html.erb @@ -0,0 +1,7 @@ +<% if current_user.present? %> +

About this service

+<% else %> +

About this service

+<% end %> +

Submit social housing lettings and sales data (CORE) is a service that collects information about every new social housing letting and sale in England. The data you submit is used to make decisions about funding, regulations, and policies.

+

<%= govuk_link_to "Learn more about statistics on social housing lettings (opens in a new tab)", "https://www.gov.uk/government/collections/rents-lettings-and-tenancies", target: "_blank" %>

diff --git a/app/views/start/index.html.erb b/app/views/start/index.html.erb index a726be277..79abb5df7 100644 --- a/app/views/start/index.html.erb +++ b/app/views/start/index.html.erb @@ -16,19 +16,16 @@ href: start_path, ) %> -
+

Before you start

Use your account details to sign in.

If you need to set up a new account, speak to your organisation’s CORE data coordinator. If you don’t know who that is, <%= govuk_link_to("contact the helpdesk", GlobalConstants::HELPDESK_URL) %>.

You can <%= govuk_mail_to("dluhc.digital-services@levellingup.gov.uk", "request an account", subject: "CORE: Request a new account") %> if your organisation doesn’t have one.

<%= govuk_link_to guidance_path do %>Guidance for submitting social housing lettings and sales data (CORE)<% end %>

-


- - - -
-
+
<%= render partial: "layouts/collection_resources" %> +
+ <%= render partial: "layouts/about_this_service" %>
diff --git a/spec/requests/start_controller_spec.rb b/spec/requests/start_controller_spec.rb index 2287280dc..edca4d7c4 100644 --- a/spec/requests/start_controller_spec.rb +++ b/spec/requests/start_controller_spec.rb @@ -60,6 +60,11 @@ RSpec.describe StartController, type: :request do get "/", headers: headers, params: {} expect(page).to have_content("Guidance for submitting social housing lettings and sales data (CORE)") end + + it "displays About this service section" do + get "/", headers:, params: {} + expect(page).to have_content("About this service") + end end end