Skip to content

Commit

Permalink
Update content on sign in and search pages
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmbaig committed Jan 18, 2024
1 parent 94d80e2 commit 0f04c34
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 12 deletions.
4 changes: 4 additions & 0 deletions app/views/searches/no_record.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
])
%>

<p class="govuk_body">
There is no record on the children’s barred list with this last name and date of birth.
</p>

<p class="govuk_body">
<%= govuk_link_to "Try another search", root_path %>
</p>
Expand Down
11 changes: 8 additions & 3 deletions app/views/searches/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% content_for :page_title, "Record found" %>
<% content_for :page_title, "Possible match with the children’s barred list" %>
<% content_for :breadcrumbs, govuk_breadcrumbs(breadcrumbs: { "Home" => root_path, "Search results" => nil }) %>

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-l">Record found on the Children’s Barred List</h1>
<h1 class="govuk-heading-l">Possible match with the children’s barred list</h1>

<%= govuk_summary_list(
rows: [
Expand All @@ -13,7 +13,12 @@
%>

<p class="govuk-body">
Contact DBS at <%= govuk_mail_to t('service.dbs_email'), t('service.dbs_email') %> for more details.
There’s a record on the children’s barred list with this last name and date of birth.
</p>

<p class="govuk-body">
Email the Disclosure and Barring Service (DBS) at <%= govuk_mail_to t('service.dbs_email'), t('service.dbs_email') %> to check if the person you searched for is allowed to work with children.
</p>
</div>
</div>

16 changes: 8 additions & 8 deletions app/views/sign_in/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
</p>

<p class="govuk-body">
The list is usually checked as part of an enhanced Disclosure and Barring Service (DBS) check.
The list is usually checked as part of a new employee’s enhanced Disclosure and Barring Service (DBS) check.
</p>

<p class="govuk_body">
Schools, colleges, local authorities and higher education institutions can also check the children’s barred list separately.
</p>

<p class="govuk_body">
You can search the list using a new employee’s last name and date of birth. You should only do this if they either:
Schools, colleges, local authorities and higher education institutions can check the children’s barred list separately if the new employee either:
</p>

<ul class="govuk-list govuk-list--bullet">
<li>
will start working with children while waiting for the result of an enhanced DBS check
</li>
<li>
do not need an enhanced DBS check because they’ve worked with children in a school or college within the last 3 months
does not need an enhanced DBS check because they’ve worked with children in a school or college within the last 3 months
</li>
</ul>

<p class="govuk_body">
Independent training providers, 16 to 19 academies and special post-16 institutions cannot use this service.
Independent training providers, 16 to 19 academies and special post-16 institutions cannot check the children’s barred list separately.
</p>

<p class="govuk_body">
You’ll need the new employee’s last name and date of birth to check the children’s barred list.
</p>

<%= form_with url: (DfESignIn.bypass? ? "/auth/developer" : "/auth/dfe") do |f| %>
Expand Down
2 changes: 1 addition & 1 deletion spec/system/user_searches_with_matching_record_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def and_i_click_search
end

def then_i_see_a_result
expect(page).to have_content "Record found"
expect(page).to have_content "Possible match with the children’s barred list"
expect(page).to have_content @record.last_name
end

Expand Down

0 comments on commit 0f04c34

Please sign in to comment.