From b8d01a545a259bffde98e9aff2a4acaa34fb2f29 Mon Sep 17 00:00:00 2001 From: Randi Mays <19175324+randimays@users.noreply.github.com> Date: Thu, 2 Jan 2025 14:32:57 -0600 Subject: [PATCH] VACMS-18456 Update legacy action links to DS action links (#2392) * VACMS-18456 Update legacy action links to DS action links * Remove extra spacing in main_buttons * Update action_link to blue * Remove extra spacing on R&S CTA list * Test adjustments --- .../facilities/main_buttons.drupal.liquid | 72 ++++++++++++------- .../support_resources_cta_list.drupal.liquid | 2 +- .../campaign_landing_page.drupal.liquid | 8 +-- ..._operating_status_and_alerts.drupal.liquid | 9 ++- src/site/paragraphs/action_link.drupal.liquid | 10 ++- .../paragraphs/react_widget.drupal.liquid | 12 +++- .../paragraphs/service_location.drupal.liquid | 9 ++- .../tests/cypress/vamc-lovell.cypress.spec.js | 34 +++++---- .../static-page-widgets.unit.spec.js | 2 +- 9 files changed, 96 insertions(+), 62 deletions(-) diff --git a/src/site/facilities/main_buttons.drupal.liquid b/src/site/facilities/main_buttons.drupal.liquid index 344a63bf6b..afe3c90b59 100644 --- a/src/site/facilities/main_buttons.drupal.liquid +++ b/src/site/facilities/main_buttons.drupal.liquid @@ -1,28 +1,52 @@ {% comment %} - This is used for Region Landing page and Contact us page - Also used for VBA with parameter + This is used for Region Landing page and Contact us page + Also used for VBA with parameter {% endcomment %}
-
- {% if buttonType == 'vba' %} - Make an appointment - {% else %} - {% assign topTask = "make-an-appointment" | topTaskLovellComp: path, buildtype, fieldAdministration, fieldVamcEhrSystem, fieldRegionPage, fieldOffice %} - {{topTask.text}} - {% endif %} -
-
- {% if buttonType == 'vba' %} - Ask a benefit question - {% else %} - View all health services - {% endif %} -
-
- {% if buttonType == 'vba' %} - Check a claim status - {% else %} - Register for care - {% endif %} -
+ {% if buttonType == 'vba' %} + + {% else %} + {% assign topTask = "make-an-appointment" | topTaskLovellComp: path, buildtype, fieldAdministration, fieldVamcEhrSystem, fieldRegionPage, fieldOffice %} + + {% endif %} + {% if buttonType == 'vba' %} + + {% else %} + + {% endif %} + {% if buttonType == 'vba' %} + + {% else %} + + {% endif %}
diff --git a/src/site/includes/support_resources_cta_list.drupal.liquid b/src/site/includes/support_resources_cta_list.drupal.liquid index 7d079a09ed..fad7f8913d 100644 --- a/src/site/includes/support_resources_cta_list.drupal.liquid +++ b/src/site/includes/support_resources_cta_list.drupal.liquid @@ -1,7 +1,7 @@ {% if fieldButtons.length > 1 %}