From 80e9668a3a70d4690fe920c914342b83942ddae2 Mon Sep 17 00:00:00 2001 From: David Upton Date: Tue, 9 Apr 2024 15:50:22 -0400 Subject: [PATCH 1/2] DIG-4260 Update feedback link in top navigation --- .../bos_theme/templates/snippets/secondary-nav.html.twig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docroot/themes/custom/bos_theme/templates/snippets/secondary-nav.html.twig b/docroot/themes/custom/bos_theme/templates/snippets/secondary-nav.html.twig index 6c457f7167..50a6b37795 100644 --- a/docroot/themes/custom/bos_theme/templates/snippets/secondary-nav.html.twig +++ b/docroot/themes/custom/bos_theme/templates/snippets/secondary-nav.html.twig @@ -20,7 +20,11 @@ {% for item in secondary_menu['#items'] %}
  • - {{ link(item.title, item.url, { 'class':['nv-h-l-a']}) }} + {% if item.title == "Feedback" %} + {{ item.title }} + {% else %} + {{ link(item.title, item.url, create_attribute({ 'class':['nv-h-l-a webform-dialog webform-dialog-narrow']})) }} + {% endif %}
  • {% endfor %} {# From a09c688b309a4ef0faa6c8587d4f414492f7e982 Mon Sep 17 00:00:00 2001 From: David Upton Date: Tue, 9 Apr 2024 16:29:15 -0400 Subject: [PATCH 2/2] Update secondary-nav.html.twig --- .../custom/bos_theme/templates/snippets/secondary-nav.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docroot/themes/custom/bos_theme/templates/snippets/secondary-nav.html.twig b/docroot/themes/custom/bos_theme/templates/snippets/secondary-nav.html.twig index 50a6b37795..da8ddbe66e 100644 --- a/docroot/themes/custom/bos_theme/templates/snippets/secondary-nav.html.twig +++ b/docroot/themes/custom/bos_theme/templates/snippets/secondary-nav.html.twig @@ -23,7 +23,7 @@ {% if item.title == "Feedback" %} {{ item.title }} {% else %} - {{ link(item.title, item.url, create_attribute({ 'class':['nv-h-l-a webform-dialog webform-dialog-narrow']})) }} + {{ link(item.title, item.url, create_attribute({ 'class':['nv-h-l-a']})) }} {% endif %} {% endfor %}