diff --git a/network-api/networkapi/wagtailpages/templates/buyersguide/bg_base.html b/network-api/networkapi/wagtailpages/templates/buyersguide/bg_base.html index a69a49a7cb0..391be8e4956 100644 --- a/network-api/networkapi/wagtailpages/templates/buyersguide/bg_base.html +++ b/network-api/networkapi/wagtailpages/templates/buyersguide/bg_base.html @@ -86,9 +86,9 @@
{% if pagetype == "product" or pagetype == "about" %} - {% trans "All" %} + {% trans "All" %} {% else %} - {% trans "All" %} + {% trans "All" %} {% endif %} {% for cat in categories %} diff --git a/source/js/foundation/inject-react/multipage-nav.js b/source/js/foundation/inject-react/multipage-nav.js index 2ede9a80cd8..c711a681a01 100644 --- a/source/js/foundation/inject-react/multipage-nav.js +++ b/source/js/foundation/inject-react/multipage-nav.js @@ -14,7 +14,9 @@ export default (apps) => { if (targetNode && multipageLinks.length) { let links = Array.from(multipageLinks).map((link) => { return { - label: link.textContent.trim(), + label: link.dataset.mobile + ? link.dataset.mobile.trim() + : link.textContent.trim(), href: link.getAttribute(`href`), isActive: !!link.getAttribute(`class`).match(/active/), };