@companieshouse/ch-node-utils 1.3.10 → 1.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"mainNavbar": "
|
|
3
|
-
"clickToExpandOrCollapse": "
|
|
2
|
+
"mainNavbar": "Menu",
|
|
3
|
+
"clickToExpandOrCollapse": "Select to show or hide",
|
|
4
4
|
"signInOrRegister": "Sign in / Register",
|
|
5
5
|
"yourCompanies": "Your companies",
|
|
6
6
|
"authorisedAgent": "Authorised agent",
|
package/package.json
CHANGED
package/templates/navbar.njk
CHANGED
|
@@ -30,10 +30,10 @@ It receives:
|
|
|
30
30
|
#}
|
|
31
31
|
{% macro addNavbar(signInHref, menuItems, userDisplayText, lang) %}
|
|
32
32
|
<div class="js-toggle-nav" id="global-nav">
|
|
33
|
-
<nav role="navigation" class="content" aria-label="{{ lang.mainNavbar
|
|
33
|
+
<nav role="navigation" class="content" aria-label="{{ lang.mainNavbar }}">
|
|
34
34
|
{% if userDisplayText %}
|
|
35
35
|
<a href="#navigation" class="js-header-toggle menu">{{ userDisplayText }}
|
|
36
|
-
<span class="govuk-visually-hidden">{{ lang.clickToExpandOrCollapse
|
|
36
|
+
<span class="govuk-visually-hidden">{{ lang.clickToExpandOrCollapse }}</span>
|
|
37
37
|
</a>
|
|
38
38
|
{% else %}
|
|
39
39
|
<a id="user-signin-mobile" href="{{ signInHref }}" class="sign-in govuk-link">{{ lang.signInOrRegister or 'Sign in / Register' }}</a>
|