Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions app/controllers/book-into-a-clinic.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,6 @@ export const bookIntoClinicController = {
const currentAppointment = booking.findAppointment(appointment_uuid)
response.locals.appointment = currentAppointment

// The check-answers page needs a version of the appointment that can find its booking on the context
response.locals.wizardAppointment =
wizardBooking?.findAppointment(appointment_uuid)

response.locals.childNumber =
booking.appointments.indexOf(currentAppointment) + 1
response.locals.childCount = booking.appointments.length
Expand Down
2 changes: 1 addition & 1 deletion app/locales/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export const en = {
fullyBooked: {
title: 'All clinics are now fully booked',
problem:
'All clinics scheduled for {{ programmes }} vaccinations are fully booked.',
'All clinics scheduled for {{ programmes }} vaccinations are now fully booked.',
guidance:
'Contact your local vaccinations team, who may be able to arrange an appointment at another clinic, by phoning {{ team.tel }} or emailing {{ team.email }}.'
},
Expand Down
4 changes: 2 additions & 2 deletions app/views/book-into-a-clinic/form/check-answers.njk
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@
},
relationship: {
href: appointment.uri.new + "/contact",
value: wizardAppointment.formatted.parentalRelationship
value: appointment.formatted.parentalRelationship
},
hasParentalResponsibility: {
href: appointment.uri.new + "/contact",
value: wizardAppointment.parentHasParentalResponsibility
value: appointment.parentHasParentalResponsibility
},
email: {
href: appointment.uri.new + "/contact"
Expand Down
2 changes: 1 addition & 1 deletion app/views/book-into-a-clinic/form/clinic-distance.njk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
text: __("clinicBooking.clinicDistance.confirm"),
variant: "reverse"
}) }}
<a href="{{ paths.back }}">{{ __("clinicBooking.clinicDistance.confirm") }}</a>
<a href="{{ paths.back }}">{{ __("clinicBooking.clinicDistance.cancel") }}</a>
</div>
{% endset %}

Expand Down