diff --git a/src/site/facilities/health_care_local_health_service.drupal.liquid b/src/site/facilities/health_care_local_health_service.drupal.liquid index 0f345a53b6..2e03a1cea9 100644 --- a/src/site/facilities/health_care_local_health_service.drupal.liquid +++ b/src/site/facilities/health_care_local_health_service.drupal.liquid @@ -9,8 +9,7 @@ {% endfor %} {% if locationEntity.fieldReferralRequired or locationEntity.fieldWalkInsAccepted or locationEntity.fieldOnlineSchedulingAvailabl %} -
Appointments
- + {% assign showAppointmentsHeader = true %} {% assign introText = 'Contact us to schedule, reschedule, or cancel your appointment. If a referral is required, you’ll need to contact your primary care provider first.' @@ -25,22 +24,28 @@ {% assign introText = '' %} {% endcase %} + {% for numberFirst in locationEntity.fieldPhoneNumbersParagraph %} + {% if introText == '' and numberFirst.entity.fieldPhoneLabel == "Appointments" and forloop.first %} + {% assign showAppointmentsHeader = false %} + {% endif %} + {% endfor %} + + {% if showAppointmentsHeader %} +
Appointments
+ {% endif %} + {% if introText != empty %}

{{ introText }}

{% endif %} - {% comment %} if fieldPhoneNumbersParagraph has values use phone numbers from entities {% endcomment %} {% if locationEntity.fieldPhoneNumbersParagraph.length > 0 %}
- fieldPhoneNumber - fieldMentalHealthPhone - {% if isMentalHealthService and fieldMentalHealthPhone %} {% assign localServiceMainNumber = fieldMentalHealthPhone %} {% else %}