diff --git a/network-api/networkapi/templates/fragments/buyersguide/arrow_link.html b/network-api/networkapi/templates/fragments/buyersguide/arrow_link.html index ea4e49919ab..a0f9d2e9c5e 100644 --- a/network-api/networkapi/templates/fragments/buyersguide/arrow_link.html +++ b/network-api/networkapi/templates/fragments/buyersguide/arrow_link.html @@ -1,8 +1,8 @@ {% load static %}
- - {{ link_text }} + + {{ link.label }}
diff --git a/network-api/networkapi/templates/fragments/buyersguide/call_to_action_box.html b/network-api/networkapi/templates/fragments/buyersguide/call_to_action_box.html index 3d4211133be..b707aa07da0 100644 --- a/network-api/networkapi/templates/fragments/buyersguide/call_to_action_box.html +++ b/network-api/networkapi/templates/fragments/buyersguide/call_to_action_box.html @@ -38,9 +38,11 @@ {% endif %} - {% if link_text and link_href %} -
- {% include "./arrow_link.html" with link_href=link_href link_text=link_text %} -
+ {% if link %} + {% with link=link.0.value %} +
+ {% include "./arrow_link.html" with link=link %} +
+ {% endwith %} {% endif %} diff --git a/network-api/networkapi/templates/pages/buyersguide/catalog.html b/network-api/networkapi/templates/pages/buyersguide/catalog.html index 0c31382f448..e421d2c3022 100644 --- a/network-api/networkapi/templates/pages/buyersguide/catalog.html +++ b/network-api/networkapi/templates/pages/buyersguide/catalog.html @@ -138,7 +138,7 @@ data-show-for-categories="{% for category in categories %}{% if category.show_cta %}{{ category.name }}, {% endif %}{% endfor %}" > {% with cta=featured_cta %} - {% include "fragments/buyersguide/call_to_action_box.html" with icon=cta.sticker_image heading=cta.title body=cta.content link_text=cta.link_label link_href=cta.get_target_url large=True %} + {% include "fragments/buyersguide/call_to_action_box.html" with icon=cta.sticker_image heading=cta.title body=cta.content link=cta.link large=True %} {% endwith %} {% endif %} diff --git a/network-api/networkapi/templates/pages/buyersguide/editorial_content_index_page.html b/network-api/networkapi/templates/pages/buyersguide/editorial_content_index_page.html index 9fbf55d6ec0..658c3eb55b4 100644 --- a/network-api/networkapi/templates/pages/buyersguide/editorial_content_index_page.html +++ b/network-api/networkapi/templates/pages/buyersguide/editorial_content_index_page.html @@ -36,7 +36,7 @@

{{ page.title }}