diff --git a/app/helpers/tab_nav_helper.rb b/app/helpers/tab_nav_helper.rb index 3c61c9de0..801560b91 100644 --- a/app/helpers/tab_nav_helper.rb +++ b/app/helpers/tab_nav_helper.rb @@ -8,13 +8,13 @@ module TabNavHelper def location_cell_postcode(location, link) link_text = location.postcode || "Add postcode" - [govuk_link_to(link_text, link, method: :patch), "Location #{location.name}"].join("\n") + [govuk_link_to(link_text, link, method: :patch), "Location"].join("\n") end def scheme_cell(scheme) link_text = scheme.service_name link = scheme.confirmed? ? scheme : scheme_check_answers_path(scheme) - [govuk_link_to(link_text, link), "Scheme #{scheme.primary_client_group}"].join("\n") + [govuk_link_to(link_text, link), "Scheme"].join("\n") end def org_cell(user) diff --git a/app/views/locations/index.html.erb b/app/views/locations/index.html.erb index 5040120d0..469768b11 100644 --- a/app/views/locations/index.html.erb +++ b/app/views/locations/index.html.erb @@ -39,6 +39,9 @@ <% row.cell(header: true, text: "Postcode", html_attributes: { scope: "col", }) %> + <% row.cell(header: true, text: "Name", html_attributes: { + scope: "col", + }) %> <% row.cell(header: true, text: "Location code", html_attributes: { scope: "col", }) %> @@ -55,6 +58,7 @@ else location.postcode.present? ? scheme_location_check_answers_path(@scheme, location, route: "locations") : scheme_location_postcode_path(@scheme, location) end), { class: "govuk-!-font-weight-bold" }, wrapper_tag: "div")) %> + <% row.cell(text: location.name) %> <% row.cell(text: location.id) %> <% row.cell(text: status_tag(location.status)) %> <% end %>