Skip to content

Commit d254293

Browse files
authored
Merge pull request #4645 from nhsuk/update-clinic-booking-content
Update content for sending invites to clinic
2 parents 6becb75 + fa6646d commit d254293

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

app/views/sessions/invite_to_clinic/edit.html.erb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@
1010
<% end %>
1111

1212
<% if @initial_invitations %>
13-
<p>This school session has been completed.</p>
14-
1513
<% if @invitations_to_send == 1 %>
16-
<p>There is <%= @invitations_to_send %> child currently without clinic appointments. You can send invitations to their parents to book an appointment.</p>
14+
<p><%= @invitations_to_send %> child was not vaccinated. You can send invitations to their parents to book an appointment.</p>
1715
<% else %>
18-
<p>There are <%= @invitations_to_send %> children currently without clinic appointments. You can send invitations to their parents to book an appointment.</p>
16+
<p><%= @invitations_to_send %> children were not vaccinated. You can send invitations to their parents to book an appointment.</p>
1917
<% end %>
2018
<% else %>
2119
<% if @invitations_to_send == 0 %>

spec/features/manage_school_sessions_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,7 @@ def when_i_click_on_send_invitations
312312

313313
def then_i_see_the_send_invitations_page
314314
expect(page).to have_content("Invite parents to book a clinic appointment")
315-
expect(page).to have_content(
316-
"There are 2 children currently without clinic appointments."
317-
)
315+
expect(page).to have_content("2 children were not vaccinated.")
318316
end
319317

320318
alias_method :and_i_click_on_send_invitations,

0 commit comments

Comments
 (0)