Sha256: 88c050134685236123e984f166fd495f0fb7a900cd7e7cb1e97d5ef7b2bb96fd

Contents?: true

Size: 1.61 KB

Versions: 8

Compression:

Stored size: 1.61 KB

Contents

<% page_is ||= nil %>

<nav aria-label="Account management" class="gem-c-layout-for-public-account-nav">
  <ul class="gem-c-layout-for-public-account-menu">
    <li class="gem-c-layout-for-public-account-menu__item <%= "gem-c-layout-for-public-account-menu__item--current" if page_is == "your-account" %>">
      <%= link_to(
        t("components.layout_for_public.account_layout.navigation.menu_bar.account.link_text"),
        GovukPersonalisation::Urls.your_account,
        class: 'gem-c-layout-for-public-account-menu__link govuk-link govuk-link--no-visited-state',
        'aria-current': page_is == "your-account" ? "page" : nil,
      ) %>
    </li>
    <li class="gem-c-layout-for-public-account-menu__item <%= "gem-c-layout-for-public-account-menu__item--current" if page_is == "manage" %>">
      <%= link_to(
        t("components.layout_for_public.account_layout.navigation.menu_bar.manage.link_text"),
        GovukPersonalisation::Urls.manage,
        class: 'gem-c-layout-for-public-account-menu__link govuk-link govuk-link--no-visited-state',
        'aria-current': page_is == "manage" ? "page" : nil,
      ) %>
    </li>
    <li class="gem-c-layout-for-public-account-menu__item <%= "gem-c-layout-for-public-account-menu__item--current" if page_is == "security" %>">
      <%= link_to(
        t("components.layout_for_public.account_layout.navigation.menu_bar.security.link_text"),
        GovukPersonalisation::Urls.security,
        class: 'gem-c-layout-for-public-account-menu__link govuk-link govuk-link--no-visited-state',
        'aria-current': page_is == "security" ? "page" : nil,
      ) %>
    </li>
  </ul>
</nav>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
govuk_publishing_components-27.5.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-27.4.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-27.3.1 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-27.3.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-27.2.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-27.1.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-27.0.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-26.0.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb