Skip to content

Commit 6c618f7

Browse files
authored
Merge pull request #6426 from NHSDigital/update-record-new-vaccination-button-content
Update "Record a new vaccination" button text
2 parents def1834 + 54c6470 commit 6c618f7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/components/app_patient_programme_vaccination_card_component.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
<% if can_record_new_vaccination? %>
5555
<div class="nhsuk-button-group">
56-
<%= govuk_button_to "Record a new #{programme.name_in_sentence} vaccination",
56+
<%= govuk_button_to "Record a vaccination in clinic",
5757
record_new_vaccination_patient_programme_path(patient, programme),
5858
secondary: true %>
5959
</div>

spec/features/manage_children_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ def and_a_clinic_consent_request_is_sent
654654
end
655655

656656
def when_i_click_on_record_new_vaccination
657-
click_on "Record a new flu vaccination"
657+
click_on "Record a vaccination in clinic"
658658
end
659659

660660
def then_i_see_the_community_clinic_session

spec/features/sessions_clinic_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def and_i_click_on_the_patient
9696

9797
def and_i_record_a_new_vaccination
9898
within(".app-secondary-navigation") { click_on "HPV" }
99-
click_on "Record a new HPV vaccination"
99+
click_on "Record a vaccination in clinic"
100100
end
101101

102102
def then_i_see_the_community_clinic_session

0 commit comments

Comments
 (0)